summaryrefslogtreecommitdiff
path: root/src/procman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/procman.h')
-rw-r--r--src/procman.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/procman.h b/src/procman.h
index d7f1ce9..44ef2bc 100644
--- a/src/procman.h
+++ b/src/procman.h
@@ -114,7 +114,11 @@ struct ProcConfig
struct MutableProcInfo
{
MutableProcInfo()
-: status(0)
+ : disk_write_bytes_current(0ULL),
+ disk_read_bytes_current(0ULL),
+ disk_write_bytes_total(0ULL),
+ disk_read_bytes_total(0ULL),
+ status(0U)
{ }
std::string user;
@@ -136,6 +140,10 @@ MutableProcInfo()
gulong start_time;
guint64 cpu_time;
+ guint64 disk_write_bytes_current;
+ guint64 disk_read_bytes_current;
+ guint64 disk_write_bytes_total;
+ guint64 disk_read_bytes_total;
guint status;
guint pcpu;
gint nice;