the unit in /proc/<pid>/schedstat should be ns
This commit is contained in:
parent
317f0b870d
commit
324874411d
@ -27,13 +27,13 @@ type ProcessSchedStat struct {
|
|||||||
// Number of processes
|
// Number of processes
|
||||||
NumProcesses int
|
NumProcesses int
|
||||||
|
|
||||||
// Total time spent on the cpu (Unit: jiffy)
|
// Total time spent on the cpu (Unit: nanoseconds)
|
||||||
Running uint64
|
Running uint64
|
||||||
|
|
||||||
// Total time spent waiting on a runqueue (Unit: jiffy)
|
// Total time spent waiting on a runqueue (Unit: nanoseconds)
|
||||||
RunWait uint64
|
RunWait uint64
|
||||||
|
|
||||||
// # of timeslices run on this cpu (Unit: jiffy)
|
// # of timeslices run on this cpu. i.e. # of times run on the cpu
|
||||||
NumTimeSlices uint64
|
NumTimeSlices uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user