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

NAME

6       libpfm_amd64_fam17h - support for AMD64 Family 17h processors
7

SYNOPSIS

9       #include <perfmon/pfmlib.h>
10
11       PMU name: amd64_fam17h (deprecated), amd_fam17h_zen1
12       PMU desc: AMD64 Fam17h Zen1
13
14

DESCRIPTION

16       The library supports AMD Family 17h processors Zen1 core PMU in both 32
17       and 64-bit modes.  The amd64_fam17h PMU model name has been  deprecated
18       in  favor  of  amd_fam17h_zen1. The old name is maintained for backward
19       compatibility reasons, but should not be used anymore.
20
21

MODIFIERS

23       The following modifiers are supported on AMD64  Family  17h  Zen1  core
24       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 cy‐
41              cles in which the event is not occurring. This is a boolean mod‐
42              ifier
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

AUTHORS

54       Stephane Eranian <eranian@gmail.com>
55
56
57
58                                  July, 2017                         LIBPFM(3)
Impressum