1LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
2
3
4
6 libpfm_intel_core - support for Intel Core-based processors
7
9 #include <perfmon/pfmlib.h>
10
11 PMU name: core
12 PMU desc: Intel Core
13
14
16 The library supports all Intel Core-based processors that includes mod‐
17 els 15, 23, 29.
18
19
21 The following modifiers are supported on Intel Core 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 from no occurrence of the event to at least one
35 occurrence. This modifier must be combined with a counter mask
36 modifier (m) with a value greater or equal to one. This is a
37 boolean modifier.
38
39 c Set the counter mask value. The mask acts as a threshold. The
40 counter will count the number of cycles in which the number of
41 occurrences of the event is greater or equal to the threshold.
42 This is an integer modifier with values in the range [0:255].
43
44
46 Stephane Eranian <eranian@gmail.com>
47
48
49
50 September, 2009 LIBPFM(3)