storaged: clean up disk stats code
Merged disk_stats_publisher into disk_stats_monitor class.
Moved proc file check to disk_stats class instead of doing so in
storaged, same for uid_io.
Added is_zero function to check zero disk_stats.
Added operators to compute disk_stats.
Change-Id: I277ae51f6fe18464f92e45c03471343784e67093
diff --git a/storaged/main.cpp b/storaged/main.cpp
index 49bd916..efab692 100644
--- a/storaged/main.cpp
+++ b/storaged/main.cpp
@@ -60,7 +60,7 @@
return NULL;
}
-static void help_message(void) {
+void help_message(void) {
printf("usage: storaged [OPTION]\n");
printf(" -u --uid Dump uid I/O usage to stdout\n");
printf(" -t --task Dump task I/O usage to stdout\n");