Blame src/components/host_micpower/utils/README

Packit Service a1973e
This tool can be used to gather Power (and Voltage) measurements on 
Packit Service a1973e
Intel Xeon Phi (aka Intel MIC) chips using the MicAccessAPI.
Packit Service a1973e
Packit Service a1973e
Be sure to configure the PAPI host_micpower component:
Packit Service a1973e
$ cd "<papi>/src/components/host_micpower"
Packit Service a1973e
$ ./configure
Packit Service a1973e
as well as PAPI with --with-components:
Packit Service a1973e
$ cd "<papi>/src"
Packit Service a1973e
$ ./configure --with-components=host_micpower 
Packit Service a1973e
Packit Service a1973e
It works by using PAPI to poll the MIC power stats every 100ms.
Packit Service a1973e
It will dump each statistic to different files, which then
Packit Service a1973e
can be plotted.
Packit Service a1973e
Packit Service a1973e
The measurements (in uW and uV) are dumped every 100ms.  
Packit Service a1973e
You can adjust the frequency by changing the source code.
Packit Service a1973e
Packit Service a1973e
You can then take those files and put them into your favorite plotting 
Packit Service a1973e
program.  You might want to edit the source to remove the extra
Packit Service a1973e
commentary from the data, the plotting program I use ignores things
Packit Service a1973e
surrounded by (* brackets.
Packit Service a1973e