Commit 0b13410b authored by Peng Liu's avatar Peng Liu Committed by Len Brown
Browse files

tools/power turbostat: Fix Bzy_MHz documentation typo



The code calculates Bzy_MHz by multiplying TSC_delta * APERF_delta/MPERF_delta
The man page erroneously showed that TSC_delta was divided.

Signed-off-by: default avatarPeng Liu <liupeng17@lenovo.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 3ac1d14d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -370,7 +370,7 @@ below the processor's base frequency.

Busy% = MPERF_delta/TSC_delta

Bzy_MHz = TSC_delta/APERF_delta/MPERF_delta/measurement_interval
Bzy_MHz = TSC_delta*APERF_delta/MPERF_delta/measurement_interval

Note that these calculations depend on TSC_delta, so they
are not reliable during intervals when TSC_MHz is not running at the base frequency.