summaryrefslogtreecommitdiff
path: root/procfs.c
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-08-23 19:04:48 +0000
committerJeremie Koenig <jk@jk.fr.eu.org>2010-08-30 14:31:32 +0200
commitf3bac2c0691d9bd5c89de206faa809cd34d86c35 (patch)
treea8bb81185aefdff07ee78775030589ecebce43f5 /procfs.c
parent49ffe9e1dc9b12fa1c87c103326e0207d0cf45d8 (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