summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-top.txt
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2016-04-06 23:16:00 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-07 22:18:40 +0200
commit9185e988e9d5bb70b690362e84bb2e4a9d71f2c5 (patch)
tree8ee83e7750e2a51a63ccd2a6a4f41150af382d7b /tools/perf/Documentation/perf-top.txt
parenttools/power turbostat: initial KBL support (diff)
downloadlinux-9185e988e9d5bb70b690362e84bb2e4a9d71f2c5.tar.xz
linux-9185e988e9d5bb70b690362e84bb2e4a9d71f2c5.zip
tools/power turbostat: work around RC6 counter wrap
Sometimes the rc6 sysfs counter spontaneously resets, causing turbostat prints a very large number as it tries to calcuate % = 100 * (old - new) / interval When we see (old > new), print ***.**% instead of a bogus huge number. Note that this detection is not fool-proof, as the counter could reset several times and still result in new > old. Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/Documentation/perf-top.txt')
0 files changed, 0 insertions, 0 deletions