Calculates the average frequency over a time period
Start calculating, defaulting to all CPU cores and 1 second refresh interval
Start calculating for CPU 1 only
Start calculating with a 3 second refresh interval for all CPU cores
Calculate only once
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.
Exit after one interval.
Prints the available options.
The msr driver must be loaded for this command to work.
Thomas Renninger <firstname.lastname@example.org>