Merge pull request #153 from monnand/change-unit

the unit in /proc/<pid>/schedstat should be ns
This commit is contained in:
Victor Marmol 2014-08-06 11:09:02 -07:00
commit c07339966d

View File

@ -27,13 +27,13 @@ type ProcessSchedStat struct {
// Number of processes
NumProcesses int
// Total time spent on the cpu (Unit: jiffy)
// Total time spent on the cpu (Unit: nanoseconds)
Running uint64
// Total time spent waiting on a runqueue (Unit: jiffy)
// Total time spent waiting on a runqueue (Unit: nanoseconds)
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
}