diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-23 19:04:48 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:31:32 +0200 |
commit | f3bac2c0691d9bd5c89de206faa809cd34d86c35 (patch) | |
tree | a8bb81185aefdff07ee78775030589ecebce43f5 /procfs.c | |
parent | 49ffe9e1dc9b12fa1c87c103326e0207d0cf45d8 (diff) |
Fix the global idle time
* rootdir.c: Replace INIT_PID by KERNEL_PID, for boot time and
idle time purposes. (get_idletime): New function, queries the
kernel's idle thread. (rootdir_gc_uptime, rootdir_gc_stat): Use the
new function and provide the real idle time.
Diffstat (limited to 'procfs.c')
0 files changed, 0 insertions, 0 deletions