projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf1c261
)
Changes for power reporting on SKX and CLX.
author
Macnamara, Chris
<chris.macnamara@intel.com>
Mon, 26 Aug 2019 11:16:54 +0000
(12:16 +0100)
committer
Chris MacNamara
<chris.macnamara@intel.com>
Mon, 16 Sep 2019 16:15:46 +0000
(17:15 +0100)
Change-Id: I2a6e9faebe616102904bcba4bc51e8e974a56408
src/turbostat.c
patch
|
blob
|
history
diff --git
a/src/turbostat.c
b/src/turbostat.c
index
9465ddc
..
2803b3e
100644
(file)
--- a/
src/turbostat.c
+++ b/
src/turbostat.c
@@
-987,6
+987,7
@@
static int __attribute__((warn_unused_result)) probe_cpu(void) {
/* Ivy Bridge */
case 0x3A: /* IVB */
case 0x3E: /* IVB Xeon */
+ case 0x55: /* SKX,CLX Xeon */
do_smi = true;
do_core_cstate = (1 << 3) | (1 << 6) | (1 << 7);
do_pkg_cstate = (1 << 2) | (1 << 3) | (1 << 6) | (1 << 7);
@@
-1042,6
+1043,7
@@
static int __attribute__((warn_unused_result)) probe_cpu(void) {
break;
case 0x2D: /* SNB Xeon */
case 0x3E: /* IVB Xeon */
+ case 0x55: /* SKX,CLX Xeon */
do_rapl = RAPL_PKG | RAPL_CORES | RAPL_DRAM;
do_power_fields = TURBO_PLATFORM | PSTATES_PLATFORM;
break;