Quote:
Originally Posted by bsat
You can look into
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
|
Value found in /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq is from the cpufreq module. Those values seem to always be nice round numbers, i.e. 2600000, when the actual frequency of processor detected at boot is 2593093. That is enough error to throw off my calculations of time. Also, I actually need the frequency of the TSC, not the CPU frequency, which may be stepped up or down relative to TSC.
The Processor frequency detected at boot does seem to match the TSC frequency.
-Matt