tools/power turbostat: correct DRAM RAPL units on recent Xeon processors
authorAndrey Semin <andrey.semin@intel.com>
Fri, 5 Dec 2014 05:07:00 +0000 (00:07 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 18 Apr 2015 18:20:52 +0000 (14:20 -0400)
commit40ee8e3b9dc8917e6077dde6a49c7a71d63b0231
tree2797cc36f7470ce78938d0b945d1ee01c1217d35
parent0b2bb6925eb602eae993a4b5c282a8c18ad1c949
tools/power turbostat: correct DRAM RAPL units on recent Xeon processors

While not yet documented in the Software Developer's Manual,
the data-sheet for modern Xeon states that DRAM RAPL ENERGY units
are fixed at 15.3 uJ, rather than being discovered via MSR.

Before this patch, DRAM energy on these products is over-stated by turbostat
because the RAPL units are 4x larger.

ref: "Xeon E5-2600 v3/E5-1600 v3 Datasheet Volume 2"
http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xeon-e5-v3-datasheet-vol-2.pdf

Signed-off-by: Andrey Semin <andrey.semin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c