add proc_time.total field (sum of user+sys)

This commit is contained in:
Doug MacEachern committed 2004-08-21 00:25:07 +00:00
1 parent 606275fc36
commit 4736d77c87
10 files changed
+15 -1

No files matched your search

+2 -1
View File
@@ -210,7 +210,8 @@ typedef struct {
sigar_uint64_t
start_time,
user,
sys;
sys,
total;
} sigar_proc_time_t;
SIGAR_DECLARE(int) sigar_proc_time_get(sigar_t *sigar, sigar_pid_t pid,