Re: finding out the value of HZ from userspace
From: Tim Schmielau
Date: Sat Mar 20 2004 - 20:12:31 EST
On Sun, 21 Mar 2004, Peter Williams wrote:
> In the 2.6 kernels internal timing and task statistics (for i386
> systems) are now kept in milliseconds where they were previously in
> 1/100ths of a second. By converting these statistics to 1/100ths of a
> second for export to user space an order of magnitude (i.e. a factor of
> 10) loss of precision occurs.
No. The statistics are not a result of full bookkeeping, but simply
gained by periodically sampling the processor state. So they don't
have a precision of 1/1000th of a second anyways.
Tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/