aboutsummaryrefslogtreecommitdiff
path: root/tools/power/x86/turbostat/turbostat.8
diff options
context:
space:
mode:
authorGravatar Peng Liu <liupeng17@lenovo.com> 2023-10-07 13:46:22 +0800
committerGravatar Len Brown <len.brown@intel.com> 2024-01-12 12:43:19 -0600
commit0b13410b52c4636aacb6964a4253a797c0fa0d16 (patch)
tree602bb722aa85bdd1729c07a911e6236343570f66 /tools/power/x86/turbostat/turbostat.8
parenttools/power turbostat: Increase the limit for fd opened (diff)
downloadlinux-0b13410b52c4636aacb6964a4253a797c0fa0d16.tar.gz
linux-0b13410b52c4636aacb6964a4253a797c0fa0d16.tar.bz2
linux-0b13410b52c4636aacb6964a4253a797c0fa0d16.zip
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 <liupeng17@lenovo.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat/turbostat.8')
-rw-r--r--tools/power/x86/turbostat/turbostat.82
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.8 b/tools/power/x86/turbostat/turbostat.8
index 8f08c3fd498d..1ba6340d3b3d 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.