summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/shared.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-08-31 16:37:51 +0000
committerChristopher Faylor <me@cgf.cx>2002-08-31 16:37:51 +0000
commitc8bef4002688ea8a5d919c312f25c899f5552625 (patch)
tree596b1e8476bf49712f5efc547ca6308cddd427c6 /winsup/cygwin/shared.cc
parentaf598a3b0949b4d9f28d8d9933b79cd2cefd5d5a (diff)
downloadcygnal-c8bef4002688ea8a5d919c312f25c899f5552625.tar.gz
cygnal-c8bef4002688ea8a5d919c312f25c899f5552625.tar.bz2
cygnal-c8bef4002688ea8a5d919c312f25c899f5552625.zip
* fhandler_proc.cc: Add <sys/param.h> include.
(format_proc_uptime): Use KernelTime and UserTime only as they include the other counters. (format_proc_stat): KernelTime includes IdleTime, so subtract IdleTime from KernelTime. Make number of 'jiffies' per second same as HZ define. * fhandler_process.cc: Add <sys/param.h> include. (format_process_stat): Make number of 'jiffies' per second same as HZ define. Use KernelTime and UserTime only to calculate start_time.
Diffstat (limited to 'winsup/cygwin/shared.cc')
0 files changed, 0 insertions, 0 deletions