High-resolution user/system times?
Oleg Goldshmidt
pub at goldshmidt.org
Wed Jul 25 16:48:23 IDT 2012
On Wed, Jul 25, 2012 at 3:44 PM, Nadav Har'El <nyh at math.technion.ac.il>wrote:
>
> USER_HZ is just used to fake the reports to user-space, pretending the
> resolution is of USER_HZ. The actual measured resolution is of
> CONFIG_HZ.
>
Yes, but all this means is that the last digit of the result you get from
times(2) or getruser(2) is probably significant - it is still 10ms
resolution.
>
> > I am used to RedHat systems whose kernels normally come with HZ=100.
>
I was wrong, actually, I just went to kernel's .config and it was 1000 on
F15, CentOS6.2, and RHEL5.4 - I was fooled by USER_HZ, sorry.
--
Oleg Goldshmidt | pub at goldshmidt.org <oleg at goldshmidt.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20120725/053425eb/attachment.html>
More information about the Linux-il
mailing list