INtime SDK Help
Processor thread frequency (freq.exe, freq.rta)
INtime SDK v7.2 > INtime Utilities > Processor thread frequency (freq.exe, freq.rta)

Utility to indicate the frequency of a processor thread by measuring the ratio between APERF and MPERF every second and optionally the frequency. In different power states the processor thread frequency and hence this ratio may vary.

Commands

freq.exe [-t index] [-v] [-r]
freq.rta [-v] [-r]

Available options

-v
shows verbose output about the CPU thread
-r
only displays the APERF/MPERF ratio and not the frequency
-t
index of the hardware thread to run the utility on (Windows only)

Notes

The ratio between the values read from APERF and MPERF is calculated every second, and the performance counters reset to 0 each time.

The frequency shown is calculated as the TSC frequency (fixed) multiplied by the APERF/MPERF ratio. Depending on the machine configuration, it may not reflect the actual frequency of the CPU hardware thread. The -r option is used to show only the ratio and not to calculate the frequency.

Press CTRL+C to exit the utility.

Sample output

debugwin32\freq.exe -v

Core crystal clock frequency: 38400000 Hz

TSC frequency: 1996800000 Hz

process affinity=0007ffff, system affinity=0007ffff, thmask=0000000000000001
MSR_PLATFORM_INFO: 0804043df0811400
Max Non-turbo ratio: 20
Max efficiency ratio: 4
Min operating ratio: 4
PPIN capability: available
Programmable Ratio Limit: available

Programmable TDP Limit: available
Programmable temp target: available
Low power mode: available
APERF/MPERF ratio   Frequency (MHz)

         0.822424       1642.216275
         0.802125       1601.682624

         0.817711       1632.805660