Blame src/components/host_micpower/utils/README
|
Packit |
577717 |
This tool can be used to gather Power (and Voltage) measurements on
|
|
Packit |
577717 |
Intel Xeon Phi (aka Intel MIC) chips using the MicAccessAPI.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
Be sure to configure the PAPI host_micpower component:
|
|
Packit |
577717 |
$ cd "<papi>/src/components/host_micpower"
|
|
Packit |
577717 |
$ ./configure
|
|
Packit |
577717 |
as well as PAPI with --with-components:
|
|
Packit |
577717 |
$ cd "<papi>/src"
|
|
Packit |
577717 |
$ ./configure --with-components=host_micpower
|
|
Packit |
577717 |
|
|
Packit |
577717 |
It works by using PAPI to poll the MIC power 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 uW and uV) 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 |
|