High resolution timers

From RTwiki
(Difference between revisions)
Jump to: navigation, search
 
(High resolution timers)
Line 2: Line 2:
  
 
The [http://www.tglx.de/projects/hrtimers/ 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 [http://www.tglx.de/projects/hrtimers/ 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.
 +
 +
== 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.

Revision as of 16:44, 6 October 2006

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.

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