Skip to content
Snippets Groups Projects
Commit 2af4f9b8 authored by Len Brown's avatar Len Brown
Browse files

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: default avatarLen Brown <len.brown@intel.com>
parent 9f4ad9e4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment