diff options
author | rbuj <[email protected]> | 2019-04-20 12:01:36 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-04-28 22:34:36 -0400 |
commit | fc1f63b1c04cb6101f3a780e104a7f295c4d307a (patch) | |
tree | 0c75dd1010650682f6d199e247ec6d1962511c78 /src/procman.h | |
parent | 1f42b9e3ab7f82825f2d0dc83a57163f5c67621c (diff) | |
download | mate-system-monitor-fc1f63b1c04cb6101f3a780e104a7f295c4d307a.tar.bz2 mate-system-monitor-fc1f63b1c04cb6101f3a780e104a7f295c4d307a.tar.xz |
Add disk IO on process info
Based on GNOME/gnome-system-monitor@60a787b
Diffstat (limited to 'src/procman.h')
-rw-r--r-- | src/procman.h | 10 |
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; |