1LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
2
3
4
6 libpfm_intel_knc - support for Intel Knights Corner
7
9 #include <perfmon/pfmlib.h>
10
11 PMU name: knc
12 PMU desc: Intel Knights Corner
13
14
16 The library supports Intel Knights Corner processors.
17
18
20 The following modifiers are supported on Intel Knights Corner procesā
21 sors:
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
41 t Measure on all threads at the same time assuming hyper-threading
42 is enabled. This is a boolean modifier.
43
45 Stephane Eranian <eranian@gmail.com>
46
47
48
49 September, 2012 LIBPFM(3)