Determining the APIC timer frequency using CPUID only
Determining the APIC timer frequency using CPUID only
Since “APIC timer's frequency is equal to the bus' frequency OR the core crystal's frequency divided by the chosen frequency divider”, is it possible to get bus frequency or core crystal frequency using cpuid 0x15 and 0x16 to calculate APIC Timer's frequency and not use the PIT method described on Wiki? Is it possible? How well will it work?
-
- Member
- Posts: 5568
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Determining the APIC timer frequency using CPUID only
Yes, if the CPU supports those CPUID leaves.
It's better than using the PIT to measure the APIC timer frequency.