lkml.org 
[lkml]   [2008]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHZ from userspace
Hello,

I want to be able to convert starttime from /proc/#/stat to absolute
time and it seems that I need HZ to do that as it is measured in
jiffies. How can I get HZ? I have seen some discussion about this but
haven't found a definite answer. procps is using some hacks do it and
I would prefer to avoid them.
I only need a solution for modern kernels, say 2.6.20+ if that matters.

--
Best Regards,
Piotr Jaroszyński
\
 
 \ /
  Last update: 2008-08-06 22:51    [W:0.063 / U:10.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site