diff options
author | Joe Konno <joe.konno@intel.com> | 2016-06-13 09:00:33 -0700 |
---|---|---|
committer | Nivedita Swaminathan <nivedita.swaminathan@intel.com> | 2016-07-21 15:12:34 -0700 |
commit | 6a0b4d08b55df62826092d2f49785d177f90a4a5 (patch) | |
tree | 5f774550672f7c738002abc59957cd64091568dd | |
parent | cc6bf6a5ec49a7321a29debd5ad321256b309f9e (diff) | |
download | powertop-2.0-6a0b4d08b55df62826092d2f49785d177f90a4a5.tar.gz |
intel_cpus: frequency: clarify average clock speed
Depending on the sample time (-t sample_time_in_secs), on Intel CPUs the
average frequency is computed for the sample time. Therefore, let's
change the label to "Average" so as not to confuse the end-user.
Previously, the UI and report printed the "actual" frequency-- at least,
that's how it was labeled. This is not strictly true, as the actual cpu
frequency of the platform may change at any point during the sample time
for a variety of reasons.
Signed-off-by: Joe Konno <joe.konno@intel.com>
-rw-r--r-- | src/cpu/intel_cpus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/intel_cpus.cpp b/src/cpu/intel_cpus.cpp index 7cb9d45..8151292 100644 --- a/src/cpu/intel_cpus.cpp +++ b/src/cpu/intel_cpus.cpp @@ -573,7 +573,7 @@ void nhm_cpu::measurement_end(void) char * nhm_cpu::fill_pstate_name(int line_nr, char *buffer) { if (line_nr == LEVEL_C0) { - sprintf(buffer, _("Actual")); + sprintf(buffer, _("Average")); return buffer; } return cpu_linux::fill_pstate_name(line_nr, buffer); |