SHORT Power and Energy consumption

EVENTSET
FIXC0 INSTR_RETIRED_ANY
FIXC1 CPU_CLK_UNHALTED_CORE
FIXC2 CPU_CLK_UNHALTED_REF
TMP0  TEMP_CORE
PWR0  PWR_PKG_ENERGY
PWR1  PWR_PP0_ENERGY
PWR2  PWR_PP1_ENERGY
PWR3  PWR_DRAM_ENERGY



METRICS
Runtime (RDTSC) [s] time
Runtime unhalted [s] FIXC1*inverseClock
Clock [MHz]  1.E-06*(FIXC1/FIXC2)/inverseClock
CPI  FIXC1/FIXC0
Temperature [C]  TMP0
Energy [J]  PWR0
Power [W] PWR0/time
Energy PP0 [J]  PWR1
Power PP0 [W] PWR1/time
Energy PP1 [J]  PWR2
Power PP1 [W] PWR2/time
Energy DRAM [J]  PWR3
Power DRAM [W] PWR3/time

LONG
Formulas:
Power = PWR_PKG_ENERGY / time
Power PP0 = PWR_PP0_ENERGY / time
Power PP1 = PWR_PP1_ENERGY / time
Power DRAM = PWR_DRAM_ENERGY / time
-
Skylake implements the RAPL interface. This interface enables to
monitor the consumed energy on the package (socket)  and DRAM level.