HZ from userspace

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Wednesday, August 6, 2008 - 4:48 pm

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HZ from userspace, Piotr Jaroszyński, (Wed Aug 6, 4:48 pm)
Re: HZ from userspace, Ray Lee, (Wed Aug 6, 5:49 pm)
Re: HZ from userspace, Piotr Jaroszyński, (Wed Aug 6, 6:07 pm)
Re: HZ from userspace, Sven Wegener, (Wed Aug 6, 6:19 pm)
Re: HZ from userspace, Ray Lee, (Wed Aug 6, 6:16 pm)
Re: HZ from userspace, Piotr Jaroszyński, (Wed Aug 6, 6:20 pm)
Re: HZ from userspace, Ray Lee, (Wed Aug 6, 6:20 pm)