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:
Q1:   the assembly instruction:   "rdtsc" will always get its clocking
from PIT right?

I doubt it. I believe on x86 RDTSC just reads a bunch of registers updated by the CPU when it ticks. It's not really a separate programmable piece of hardware.

Q2:   the remark for select_clocksource() said it will select the
best, but the function is a loopless, deterministic function that just
return value from a linked list.   Hm.....cannot understand it
usage...

You might want to trace execution from clocksource_register (and the functions that end up being called from it) in that case to see HOW the list is built.

--
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