1cpufreq-aperf(1)                                              cpufreq-aperf(1)
2
3
4

NAME

6       cpufreq-aperf - Calculates the average frequency over a time period
7

SYNTAX

9       cpufreq-aperf [options]
10

DESCRIPTION

12       On latest processors exist two MSR registers referred to as:
13         - MPERF increasing with maximum (P0) frequency in C0
14         - APERF increasing with current/actual frequency in C0
15
16       From  this  information the average frequency over a time period can be
17       calculated and this is what this tool does.
18
19       A nice falloff feature beside the average frequency is the time a  pro‐
20       cessor core remained in C0 (working state) or any CX (sleep state) pro‐
21       cessor sleep state during the measured time  period.  This  information
22       can be determined from the fact that MPERF only increases in C0 state.
23

OPTIONS

25       -c --cpu <CPU>
26               The <CPU> core to measure - default all cores.
27
28       -i --interval <seconds>
29              Refresh rate - default 1 second.
30
31       -o --once
32              Exit after one interval.
33
34       -h --help
35              Prints the available options.
36

REMARKS

38       The msr driver must be loaded for this command to work.
39

AUTHORS

41       Thomas Renninger <trenn@suse.de>
42

SEE ALSO

44       cpufreq-set(1), cpufreq-info(1)
45
46
47
48
49Mattia Dongili                        0.1                     cpufreq-aperf(1)
Impressum