commit | 2af4f9b8596afbbd7667a18fa71d117bac227dea | [log] [tgz] |
---|---|---|
author | Len Brown <len.brown@intel.com> | Sat Jan 30 23:43:10 2021 -0500 |
committer | Len Brown <len.brown@intel.com> | Tue May 04 18:23:14 2021 -0400 |
tree | 58f114fb5263ed38fd797f9c2e6791a2fa770cc6 | |
parent | 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 [diff] |
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>