cpufreq-aperf - Calculates the average frequency over a time period
cpufreq-aperf [ options
On latest processors exist two MSR registers refered to as:
- MPERF increasing with maxium (P0) frequency in C0
- APERF increasing with current/actual frequency in C0
From this information the average frequency over a time period can be calculated
and this is what this tool does.
A nice falloff feature beside the average frequency is the time a processor core
remained in C0 (working state) or any CX (sleep state) processor sleep state
during the measured time period. This information can be determined from the
fact that MPERF only increases in C0 state.
- -c --cpu <CPU>
The < CPU> core to measure - default all cores.
- -i --interval <seconds>
- Refresh rate - default 1 second.
- -o --once
- Exit after one interval.
- -h --help
- Prints the available options.
The msr driver must be loaded for this command to work.
Thomas Renninger <email@example.com>