1LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
2
3
4
6 libpfm_amd64_fam15h - support for AMD64 Family 15h processors
7
9 #include <perfmon/pfmlib.h>
10
11 PMU name: amd64_fam15h_interlagos
12 PMU desc: AMD64 Fam15h Interlagos
13 PMU name: amd64_fam15h_nb
14 PMU desc: AMD64 Fam15h Northbridge
15
16
18 The library supports AMD Family 15h processors core PMU in both 32 and
19 64-bit modes. The uncore (NorthBridge) PMU is also supported as a sepa‐
20 rate PMU model.
21
22
24 The following modifiers are supported on AMD64 Family 15h core PMU:
25
26 u Measure at user level which includes privilege levels 1, 2, 3.
27 This corresponds to PFM_PLM3. This is a boolean modifier.
28
29 k Measure at kernel level which includes privilege level 0. This
30 corresponds to PFM_PLM0. This is a boolean modifier.
31
32 h Measure at while executing in host mode (when using virtualiza‐
33 tion). This corresponds to PFM_PLMH. This modifier is available
34 starting with Fam10h. This is a boolean modifier.
35
36 g Measure at while executing in guest mode (when using virtualiza‐
37 tion). This modifier is available starting with Fam10h. This is
38 a boolean modifier.
39
40 i Invert the meaning of the event. The counter will now count
41 cycles in which the event is not occurring. This is a boolean
42 modifier
43
44 e Enable edge detection, i.e., count only when there is a state
45 transition. This is a boolean modifier.
46
47 c Set the counter mask value. The mask acts as a threshold. The
48 counter will count the number of cycles in which the number of
49 occurrences of the event is greater or equal to the threshold.
50 This is an integer modifier with values in the range [0:255].
51
52 The uncore (NorthBridge) PMU does not support any modifiers.
53
54
56 Stephane Eranian <eranian@gmail.com>
57 Robert Richter <robert.richter@amd.com>
58
59
60
61 Nov, 2013 LIBPFM(3)