linux/tools/power
Hubert Chrzaniuk b2b34dfe4d tools/power turbostat: KNL workaround for %Busy and Avg_MHz
KNL increments APERF and MPERF every 1024 clocks.
This is compliant with the architecture specification,
which requires that only the ratio of APERF/MPERF need be valid.

However, turbostat takes advantage of the fact that these
two MSRs increment every un-halted clock
at the actual and base frequency:

AVG_MHz = APERF_delta/measurement_interval

%Busy = MPERF_delta/TSC_delta

This quirk is needed for these calculations to also work on KNL,
which would otherwise show a value 1024x smaller than expected.

Signed-off-by: Hubert Chrzaniuk <hubert.chrzaniuk@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2015-09-26 00:50:54 -04:00
..
acpi tools/power/acpi: Enable build for EC userspace tool 2015-07-31 23:39:31 +02:00
cpupower Power management and ACPI material for v4.3-rc1 2015-09-01 19:45:46 -07:00
x86 tools/power turbostat: KNL workaround for %Busy and Avg_MHz 2015-09-26 00:50:54 -04:00