Len Brown 2af4f9b859 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>
2021-05-04 18:23:14 -04:00
..
2020-04-03 13:12:26 -07:00
2020-08-22 10:53:12 +01:00
2020-04-02 17:57:10 +01:00
2021-02-22 13:59:43 -08:00
2020-08-19 14:11:44 +02:00
2020-09-04 12:46:06 +01:00