diff options
| author | Zhang Rui <[email protected]> | 2023-08-21 22:22:48 +0800 |
|---|---|---|
| committer | Zhang Rui <[email protected]> | 2023-09-27 22:14:18 +0800 |
| commit | 71e841293c715797d8c6ae8cdc3f74b4396c5570 (patch) | |
| tree | 7d5cb6b6bac83ed6fe3eb82b6079785efe8f57ad /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3dd0e7547d11e770bafb40ad41f2631cc4b16649 (diff) | |
tools/power/turbostat: Abstract BCLK frequency support
Abstract CPU base clock frequency support.
Note that bclk is used by
1. calculate base_hz using MSR_PLATFORM_INFO, which is guarded by
probe_nhm_msrs().
2. dump MSR_PLATFORM_INFO and Turbo Ratio Limit MSRs, which are also
guarded by probe_nhm_msrs().
Thus probe_bclk() works for probe_nhm_msrs() models only.
Signed-off-by: Zhang Rui <[email protected]>
Reviewed-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions