High resolution timers

From RTwiki
Revision as of 16:46, 6 October 2006 by Tglx (Talk | contribs)

Jump to: navigation, search

High resolution timers

The high resolution patch is maintained by small group of core developers, led by Thomas Gleixner. It allows precise timed scheduling and removes the dependency of timers on the periodic scheduler tick (jiffies). Thomas and Ingo wrote high resolution timer design notes which explain the implementaion details.

The high resolution timer patch is also integrated in the CONFIG_PREEMPT_RT patch and was submitted for mainline integration recently.

How to use high resolution timers ?

There are no special requirements, except a recent glibc, to make use of high resolution timers. When the high resolution timers are enabled in the Linux kernel, then nanosleep, itimers and posix timers provide the high resolution mode without changes to the source code.

There are patches in preperation to extend this to poll and select syscalls.

Personal tools