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:
Doug MacEachern committed 2004-08-21 00:13:13 +00:00
1 parent 641253b359
commit 606275fc36
16 files changed
+46 -30

No files matched your search

+2 -2
View File
@@ -637,8 +637,8 @@ int sigar_proc_time_get(sigar_t *sigar, sigar_pid_t pid,
return status;
}
proctime->utime = pstat->utime;
proctime->stime = pstat->stime;
proctime->user = pstat->utime;
proctime->sys = pstat->stime;
proctime->start_time = pstat->start_time;
return SIGAR_OK;