Messages in this thread | | | From | "Ulrich Windl" <> | Date | Wed, 15 Feb 2006 08:26:05 +0100 | Subject | Re: time patches by Roman Zippel |
| |
On 14 Feb 2006 at 15:33, Roman Zippel wrote:
[...] > > Assuming 1024Hz interrupt frequency: > > (1µs * 1000) / 1024 == 0ns; 0 * 1024 == 0µs, not 1µs > > (2µs * 1000) / 1024 == 1ns; 1 * 1024 == 1.024µs, not 2µs > > Ok, I didn't put much effort into optimizing it for uncommon HZ values. > Why is it so important? It's currently unused on any Linux machine > synchronized via NTP.
Roman,
how do you know? When using "disable kernel", NTP relies on adjtime() to adjust the time. Some people even prefer that, because the algorithms do floating point math in user space instead of fixed-point maths in kernel space.
[...]
Regards, Ulrich
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |