1LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
2
3
4
6 libpfm_intel_rapl - support for Intel RAPL PMU
7
9 #include <perfmon/pfmlib.h>
10
11 PMU name: rapl
12 PMU desc: Intel RAPL (Intel SandyBridge, IvyBridge, Haswell)
13
14
16 The library supports the Intel Running Average Power Limit (RAPL)
17 energy consumption counters. This is a socket-level set of counters
18 which reports energy consumption in Joules. There are up to 3 counters
19 each measuring only one event. The following events are defined:
20
21 RAPL_ENERGY_CORES
22 On all processors, the event reports the number of Joules con‐
23 sumed by all cores.
24 On all processors,
25
26 RAPL_ENERGYC_PKG
27 On all processors, th event reports the number of Joules con‐
28 sumed by all the cores and Last Level cache (L3).
29
30 RAPL_ENERGY_DRAM
31 On server processors, the event reports the number of Joules
32 consumed n by the DRAM controller.
33
34 By construction, the events are socket-level and can only be
35 measured in system-wide mode. It is necessary and sufficient to
36 measure only one CPU per socket to get meaningful results.
37
38
40 The PMU does not support any modifiers.
41
43 Stephane Eranian <eranian@gmail.com>
44
45
46
47 November, 2013 LIBPFM(3)