1LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
2
3
4
6 libpfm_amd64_k7 - support for AMD64 K7 processors
7
9 #include <perfmon/pfmlib.h>
10
11 PMU name: amd64_k7
12 PMU desc: AMD64 K7
13
14
16 The library supports AMD K7 processors in both 32 and 64-bit modes.
17 They correspond to processor family 6.
18
19
21 The following modifiers are supported on AMD64 K7 processors:
22
23 u Measure at user level which includes privilege levels 1, 2, 3.
24 This corresponds to PFM_PLM3. This is a boolean modifier.
25
26 k Measure at kernel level which includes privilege level 0. This
27 corresponds to PFM_PLM0. This is a boolean modifier.
28
29 i Invert the meaning of the event. The counter will now count
30 cycles in which the event is not occurring. This is a boolean
31 modifier
32
33 e Enable edge detection, i.e., count only when there is a state
34 transition. This is a boolean modifier.
35
36 c Set the counter mask value. The mask acts as a threshold. The
37 counter will count the number of cycles in which the number of
38 occurrences of the event is greater or equal to the threshold.
39 This is an integer modifier with values in the range [0:255].
40
42 Stephane Eranian <eranian@gmail.com>
43 Robert Richter <robert.richter@amd.com>
44
45
46
47 August, 2010 LIBPFM(3)