Re: What are the different timer that exists in the kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Teoh wrote:
On 9/18/08, Sitsofe Wheeler <sitsofe@xxxxxxxxx> wrote:
Just after start up the kernel decides which hardware clock source it deems
to be the best after tests (the order on x86 from most to least prefered is
roughly HPET, ACPI, TSC, PIT) and goes on to only use that (after

I am curious to know - where is this in the source code?

select_clocksource in kernel/time/clocksource.c iterates through available clock sources - http://lxr.linux.no/linux+v2.6.26.5/kernel/time/clocksource.c#L265 . Clock sources register themselves using clocksource_register and are scattered across several files.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux