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 | 434f79cbfa00c7370724dc25091b5a42bdf8d9e1 (patch) | |
tree | f4ef89cb6a8b9fc7c1979291e4663e628e04785d /process.c | |
parent | 7550343b09a94dc1c659ad74dc75b3b77e7ab0bc (diff) | |
download | hurd-434f79cbfa00c7370724dc25091b5a42bdf8d9e1.tar.gz hurd-434f79cbfa00c7370724dc25091b5a42bdf8d9e1.tar.bz2 hurd-434f79cbfa00c7370724dc25091b5a42bdf8d9e1.zip |
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 'process.c')
0 files changed, 0 insertions, 0 deletions