Blame src/components/rapl/utils/README

Packit 577717
This tool can be used to gather Energy measurements on a SandyBridge
Packit 577717
chip using RAPL.
Packit 577717
Packit 577717
Be sure to configure PAPI with --with-components="rapl" and have
Packit 577717
read permissions on the /dev/cpu/*/msr files.
Packit 577717
Packit 577717
It works by using PAPI to poll the RAPL stats every 100ms.
Packit 577717
It will dump each statistic to different files, which then
Packit 577717
can be plotted.
Packit 577717
Packit 577717
The measurements (in nJ) are dumped every 100ms.  
Packit 577717
You can adjust the frequency by changing the source code.
Packit 577717
Packit 577717
You can then take those files and put them into your favorite plotting 
Packit 577717
program.  You might want to edit the source to remove the extra
Packit 577717
commentary from the data, the plotting program I use ignores things
Packit 577717
surrounded by (* brackets.
Packit 577717
Packit 577717