check out the tickless kernel, the aim of that was to remove the timer ticking, so as to remove interrupts. Significant performance improvements was achieved - arising from a reduction in numbers of interrupts processing. And similarly, power consumptions dropped by a lot, as now idle means really idling.....no more ticking.... but your aim was to understand how timer worked right? so take thoose patches and reverse it...u can have a very good view of how kernel uses timer....in the past. moreover, just a few of these keyword - apic, hpet, timer, kernel can results in many results from Google - especially kernel projects done in undergrad universities. If u cannot find it let me know....thanks. On Sat, Aug 9, 2008 at 1:25 AM, Bradley Hanna <brahan.ml@xxxxxxxxx> wrote: > I am researching how linux programs different timers. > > I need to know where to look to see specific functions that linux uses to > program the local cpu apic timer. Specifically, say that there is no other > timer other than the rtc and the kernel needs to use the apic for timer > interrupts. How would the kernel program the apic to raise the timer > interrupt? > > thanks for your patience, > > brahan -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ