Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
faq:start [2013/07/16 23:33] – the_aviv | faq:start [2015/11/16 11:02] – [Q: What about timers and timing ?] 202.77.55.169 | ||
---|---|---|---|
Line 46: | Line 46: | ||
==== Q: What about timers and timing ? ==== | ==== Q: What about timers and timing ? ==== | ||
- | Modern PCs provide good hardware timing sources. | + | For moderate to new hardware, TSC is the best hardware timing sources. |
- | One of it is the RTC (real-time-clock). Another one is the HPET (high-precision-event-timer), which is preferable | + | |
Then there is a software layer (in the kernel) to make available the hw-timers to the applications, | Then there is a software layer (in the kernel) to make available the hw-timers to the applications, | ||
One example is the usual system-timer. | One example is the usual system-timer. | ||
Line 59: | Line 58: | ||
(see: priority settings, rtirq). | (see: priority settings, rtirq). | ||
- | **How to know, if a HPET (hardware) is available? | + | **How to know, if a TSC / HPET (hardware) is available? |
+ | dmesg | grep -i tsc | ||
dmesg | grep -i hpet | dmesg | grep -i hpet | ||
Line 65: | Line 65: | ||
cat / | cat / | ||
- | **Related Kernel Options | + | **How to config kernel for HPET?** |
< | < | ||
# cat .config | grep -i hpet | # cat .config | grep -i hpet | ||
Line 85: | Line 85: | ||
Related Articles: | Related Articles: | ||
[[http:// | [[http:// | ||
+ | [[http:// | ||