1LIBPFM(3)                  Linux Programmer's Manual                 LIBPFM(3)
2
3
4

NAME

6       libpfm_amd64_fam16h - support for AMD64 Family 16h processors
7

SYNOPSIS

9       #include <perfmon/pfmlib.h>
10
11       PMU name: amd64_fam16h
12       PMU desc: AMD64 Fam16h Zen
13
14

DESCRIPTION

16       The  library supports AMD Family 16h processors core PMU in both 32 and
17       64-bit modes.
18
19

MODIFIERS

21       The following modifiers are supported on AMD64 Family 16h core PMU:
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       h      Measure at while executing in host mode (when using  virtualiza‐
30              tion). This corresponds to PFM_PLMH.  This modifier is available
31              starting with Fam10h. This is a boolean modifier.
32
33       g      Measure at while executing in guest mode (when using virtualiza‐
34              tion).  This modifier is available starting with Fam10h. This is
35              a boolean modifier.
36
37       i      Invert the meaning of the event.  The  counter  will  now  count
38              cycles  in  which  the event is not occurring. This is a boolean
39              modifier
40
41       e      Enable edge detection, i.e., count only when there  is  a  state
42              transition. This is a boolean modifier.
43
44       c      Set  the  counter  mask value. The mask acts as a threshold. The
45              counter will count the number of cycles in which the  number  of
46              occurrences  of  the event is greater or equal to the threshold.
47              This is an integer modifier with values in the range [0:255].
48
49

AUTHORS

51       Stephane Eranian <eranian@gmail.com>
52
53
54
55                                  July, 2017                         LIBPFM(3)
Impressum