convert start_time to millis
This commit is contained in:
parent
3e3e117f18
commit
0bd202c57b
|
@ -738,7 +738,7 @@ int sigar_proc_time_get(sigar_t *sigar, sigar_pid_t pid,
|
|||
proctime->total = proctime->user + proctime->sys;
|
||||
#endif
|
||||
|
||||
proctime->start_time = tv2sec(pinfo->KI_START);
|
||||
proctime->start_time = tv2sec(pinfo->KI_START) * 1000;
|
||||
|
||||
return SIGAR_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue