Skip to contentSkip to conversation

CPU frequency & time measurement

DISCUSSION Aron 2 participants 2 messages Apr 1, 2004

lore
Share & tools
lore

Aron

author
#0 lore raw

If the real-time environment measure time via some functions access TSC. Will the time measurement via TSC register be affected by adjusting the CPU frequency?

Thanks.

#1 lore raw
Quoted 3 lines · Aron

If the real-time environment measure time via some functions access TSC. Will the time measurement via TSC register be affected by adjusting the CPU frequency?

If it is a Pentium 4, there might be a chance that the TSC is unaffected. Else, the TSC is affected by adjusting the CPU frequency. The kernel core adapts to such frequency changes; nonetheless there is a small discrepancy whenever a frequency transition occurs.

Dominik

_______________________________________________
Cpufreq mailing list
[email protected]
http://www.linux.org.uk/mailman/listinfo/cpufreq