SHORT Power and Energy consumption

EVENTSET
FIXC0 INSTR_RETIRED_ANY
FIXC1 CPU_CLK_UNHALTED_CORE
FIXC2 CPU_CLK_UNHALTED_REF
PWR0  PWR_PKG_ENERGY
UBOX0 UNCORE_CLOCKTICKS

METRICS
Runtime (RDTSC) [s] time
Runtime unhalted [s] FIXC1*inverseClock
Clock [MHz]  1.E-06*(FIXC1/FIXC2)/inverseClock
Uncore Clock [MHz] 1.E-06*UBOX0/time
CPI  FIXC1/FIXC0
Energy [J]  PWR0
Power [W] PWR0/time

LONG
Formulas:
Power =  PWR_PKG_ENERGY / time
Uncore Clock [MHz] = 1.E-06 * UNCORE_CLOCKTICKS / time
-
Icelake implements the RAPL interface. This interface enables to
monitor the consumed energy on the package (socket) level.

