Intel has implemented a Running Average Power Limit (RAPL) on Sandybridge processors.
A number of machine-specific registers are defined containing energy information:
SandyBridge:
MSR_RAPL_POWER_UNIT MSR_PKG_POWER_LIMIT MSR_PKG_ENERGY_STATUS MSR_PP0_POLICY
MSR_PP0_PERF_STATUS MSR_PKG_POWER_INFO MSR_PP0_POWER_LIMIT MSR_PP0_ENERGY_STATUS
»Measuring Energy Consumption for Short Code Paths Using RAPL. Hähnel 2012
| 33: (C) 2012-15, DJ Greaves, University of Cambridge, Computer Laboratory. |