Skip to content

Commit

Permalink
rapl-read: update comment on haswell-ep/pp0
Browse files Browse the repository at this point in the history
  • Loading branch information
deater committed Oct 4, 2017
1 parent e3aedc2 commit 0380427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rapl-read/rapl-read.c
Expand Up @@ -490,6 +490,7 @@ static int rapl_msr(int core, int cpu_model) {

/* PP0 energy */
/* Not available on Knights* */
/* Always returns zero on Haswell-EP? */
if (pp0_avail) {
result=read_msr(fd,MSR_PP0_ENERGY_STATUS);
pp0_before[j]=(double)result*cpu_energy_units[j];
Expand Down

0 comments on commit 0380427

Please sign in to comment.