diff options
author | Len Brown <len.brown@intel.com> | 2021-01-31 07:43:10 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2021-05-05 01:23:14 +0300 |
commit | 2af4f9b8596afbbd7667a18fa71d117bac227dea (patch) | |
tree | 58f114fb5263ed38fd797f9c2e6791a2fa770cc6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 (diff) | |
download | linux-2af4f9b8596afbbd7667a18fa71d117bac227dea.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions