1LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
2
3
4
6 libpfm_intel_skx_unc_pcu - support for Intel Skylake X Power Controller
7 Unit (PCU) uncore PMU
8
10 #include <perfmon/pfmlib.h>
11
12 PMU name: skx_unc_pcu
13 PMU desc: Intel Skylake X Server PCU uncore PMU
14
15
17 The library supports the Intel Skylake X Server Power Controller Unit
18 uncore PMU.
19
20
22 The following modifiers are supported on Intel Skylake X server PCU
23 uncore PMU:
24
25 e Enable edge detection, i.e., count only when there is a state
26 transition from no occurrence of the event to at least one
27 occurrence. This modifier must be combined with a threshold mod‐
28 ifier (t) with a value greater or equal to one. This is a bool‐
29 ean modifier.
30
31 t Set the threshold value. When set to a non-zero value, the
32 counter counts the number of HA cycles in which the number of
33 occurrences of the event is greater or equal to the threshold.
34 This is an integer modifier with values in the range [0:15].
35
36 i Invert the meaning of the threshold or edge filter. If set, the
37 event counts when strictly less than N occurrences occur per
38 cycle if threshold is set to N. When invert is set, then thresh‐
39 old must be set to non-zero value. If set, the event counts when
40 the event transitions from occurring to not occurring (falling
41 edge) when edge detection is set. This is a boolean modifier
42
43
45 There are 3 events which support frequency band filtering, namely,
46 UNC_P_FREQ_BAND0_CYCLES, UNC_P_FREQ_BAND1_CYCLES,
47 UNC_P_FREQ_BAND2_CYCLES, UNC_P_FREQ_BAND3_CYCLES. The frequency filter
48 (available via the ff modifier) is stored into a PMU shared register
49 which hold all 4 possible frequency bands, one per event. However, the
50 library generate the encoding for each event individually because it
51 processes events one at a time. The caller or the underlying kernel
52 interface may have to merge the band filter settings to program the
53 filter register properly.
54
55
57 Stephane Eranian <eranian@gmail.com>
58
59
60
61 January, 2018 LIBPFM(3)