diff options
author | Len Brown <len.brown@intel.com> | 2021-01-30 23:43:10 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2021-05-04 18:23:14 -0400 |
commit | 2af4f9b8596afbbd7667a18fa71d117bac227dea (patch) | |
tree | 58f114fb5263ed38fd797f9c2e6791a2fa770cc6 /COPYING | |
parent | 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 (diff) | |
download | linux-2af4f9b8596afbbd7667a18fa71d117bac227dea.tar.gz |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions