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