From: Peng Liu Date: Sat, 7 Oct 2023 05:46:22 +0000 (+0800) Subject: tools/power turbostat: Fix Bzy_MHz documentation typo X-Git-Tag: v6.9-rc4~36^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b13410b52c4636aacb6964a4253a797c0fa0d16;p=thirdparty%2Fkernel%2Flinux.git 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: Peng Liu Signed-off-by: Len Brown --- diff --git a/tools/power/x86/turbostat/turbostat.8 b/tools/power/x86/turbostat/turbostat.8 index 8f08c3fd498d5..1ba6340d3b3da 100644 --- a/tools/power/x86/turbostat/turbostat.8 +++ b/tools/power/x86/turbostat/turbostat.8 @@ -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.