aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2023-08-27 10:37:23 +0800
committerZhang Rui <[email protected]>2023-09-27 22:14:19 +0800
commit485a017c45200ed82518f6cdeea554f77e9a0562 (patch)
treefabe84d410346c2b3c987b3a4b15ac858967a9da /tools/perf/scripts/python
parentbf1ad57c3f92c551dbfdcecd49797253f55cb7c1 (diff)
tools/power/turbostat: Abstract TSC tweak support
On some models, the CPU base frequency is different from the TSC frequency, and the aperf/mperf counters are running at CPU base frequency instead of TSC frequency. Abstract support for TSC tweak. Given that tsc_tweak depends on base_hz, move the code to probe_bclk() after base_hz is available. Signed-off-by: Zhang Rui <[email protected]> Reviewed-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions