提交 0f644909 编写于 作者: J Jacob Pan 提交者: Len Brown

tools/power/turbostat: Add Denverton RAPL support

The Denverton CPU RAPL supports package, core, and DRAM domains.
Signed-off-by: NJacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 2c48c990
...@@ -2663,6 +2663,9 @@ void rapl_probe(unsigned int family, unsigned int model) ...@@ -2663,6 +2663,9 @@ void rapl_probe(unsigned int family, unsigned int model)
case 0x4D: /* AVN */ case 0x4D: /* AVN */
do_rapl = RAPL_PKG | RAPL_CORES; do_rapl = RAPL_PKG | RAPL_CORES;
break; break;
case 0x5f: /* DNV */
do_rapl = RAPL_PKG | RAPL_DRAM | RAPL_DRAM_POWER_INFO | RAPL_DRAM_PERF_STATUS | RAPL_PKG_PERF_STATUS | RAPL_PKG_POWER_INFO | RAPL_CORES_ENERGY_STATUS;
break;
default: default:
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册