1LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
2
3
4
6 libpfm_intel_snb_unc - support for Intel Sandy Bridge uncore PMU
7
9 #include <perfmon/pfmlib.h>
10
11 PMU name: snb_unc_cbo0, snb_unc_cbo1, snb_unc_cbo2, snb_unc_cbo3
12 PMU desc: Intel Sandy Bridge C-box uncore
13
14
16 The library supports the Intel Sandy Bridge client part (model 42)
17 uncore PMU. The support is currently limited to the Coherency Box, so
18 called C-Box for up to 4 physical cores.
19
20 Each physical core has an associated C-Box which it uses to communicate
21 with the L3 cache. The C-boxes all support the same set of events. How‐
22 ever, Core 0 C-box (snb_unc_cbo0) supports an additional uncore clock
23 ticks event: UNC_CLOCKTICKS.
24
25
26
28 The following modifiers are supported on Intel Sandy Bridge C-Box
29 uncore PMU:
30
31 i Invert the meaning of the event. The counter will now count
32 cycles in which the event is not occurring. This is a boolean
33 modifier
34
35 e Enable edge detection, i.e., count only when there is a state
36 transition from no occurrence of the event to at least one
37 occurrence. This modifier must be combined with a counter mask
38 modifier (m) with a value greater or equal to one. This is a
39 boolean modifier.
40
41 c Set the counter mask value. The mask acts as a threshold. The
42 counter will count the number of cycles in which the number of
43 occurrences of the event is greater or equal to the threshold.
44 This is an integer modifier with values in the range [0:255].
45
46
47 Both the UNC_CBO_CACHE_LOOKUP and UNC_CBO_XSNP_RESPONSE requires two
48 umasks to be valid. For UNC_CBO_CACHE_LOOKUP the first umask must be
49 one of the MESI state umasks, the second has to be one of the filters.
50 For UNC_CBO_XSNP_RESPONSE the first umask must be one of the snoop
51 types, the second has to be one of the filters.
52
53
55 Stephane Eranian <eranian@gmail.com>
56
57
58
59 August, 2012 LIBPFM(3)