renaming proc_time.{utime,stime} to proc_time.{user,sys}
'utime' and 'stime' are common within system structures, but with lots of other stuff in the structure unrelated to time. having 'time' in both the structure/class name and the field at the sigar level is just lame.
This commit is contained in:
1 parent
641253b359
commit
606275fc36
16 files changed
+46
-30
No files matched your search
+2
-2
@@ -209,8 +209,8 @@ sigar_proc_cred_name_get(sigar_t *sigar, sigar_pid_t pid,
|
||||
typedef struct {
|
||||
sigar_uint64_t
|
||||
start_time,
|
||||
utime,
|
||||
stime;
|
||||
user,
|
||||
sys;
|
||||
} sigar_proc_time_t;
|
||||
|
||||
SIGAR_DECLARE(int) sigar_proc_time_get(sigar_t *sigar, sigar_pid_t pid,
|
||||
|
||||
Reference in new issue
Block a user