Hi ,
thanks for your report.
In the output in timeline mode the first number is always the
timestamp, the second number the actual result for the period.
And yes you are right, there is a scale missing. I forgot it for the
timeline mode. You can easily fix this yourself if you do not want to
wait for the next release.
Just add to the following snippet (its line 347, routine
perfmon_readCountersThread_sandybridge in file ./src/includes/
perfmon_sandybridge.h):
else if (perfmon_threadData[thread_id].counters[i].type ==
POWER)
{
perfmon_threadData[thread_id].counters[i].counterData
=
power_read(cpu_id,
perfmon_threadData[thread_id].counters[i].configRegister);
}
the scale:
else if (perfmon_threadData[thread_id].counters[i].type ==
POWER)
{
perfmon_threadData[thread_id].counters[i].counterData
=
power_info.energyUnit * power_read(cpu_id,
perfmon_threadData[thread_id].counters[i].configRegister);
}
Then the result should be correct. You can also put 1s instead of
1000ms for the frequency. Also be aware that the ENERGY measurements
is always for the package (== socket). So even if you only measure 1
core you get the result for the package.
Thank you again for reporting this error.
Greetings,
Jan