Is high resolution performance counter and 64 bit RTC both works based on number of CPU Cycles since the system started? Both uses same hardware?
Jit
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is up to the motherboard + BIOS, the HAL (Hardware Abstraction Layer) picks it up. But it wasn’t traditionally and it certainly isn’t these days with variable cpu clock rates. The motherboard builder usually picks a frequency available in the chipset. The traditional rate was 1.1932 MHz, the NTSC color burst frequency divided by 3 and the clock source of the Intel 8253 timer chip. But no longer around anymore due to relentless cost cutting.
Always use QueryPerformanceFrequency().