diff options
author | 2021-01-30 23:43:10 -0500 | |
---|---|---|
committer | 2021-05-04 18:23:14 -0400 | |
commit | 2af4f9b8596afbbd7667a18fa71d117bac227dea (patch) | |
tree | 58f114fb5263ed38fd797f9c2e6791a2fa770cc6 /tools/perf/scripts/python | |
parent | Linux 5.12 (diff) | |
download | wireguard-linux-2af4f9b8596afbbd7667a18fa71d117bac227dea.tar.xz wireguard-linux-2af4f9b8596afbbd7667a18fa71d117bac227dea.zip |
tools/power turbostat: add built-in-counter for IPC -- Instructions per Cycle
Use linux-perf to access the hardware instructions-retired counter.
This is necessary because the counter is not enabled by default,
and also the counter is prone to roll-over -- both of which
perf manages.
It is not necessary to use perf for the cycle counter,
because turbostat already needs to collect delta-aperf
to calcuate frequency.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions