|
Packit |
577717 |
.TH LIBPFM 3 "August, 2010" "" "Linux Programmer's Manual"
|
|
Packit |
577717 |
.SH NAME
|
|
Packit |
577717 |
libpfm_amd64_fam10h - support for AMD64 Family 10h processors
|
|
Packit |
577717 |
.SH SYNOPSIS
|
|
Packit |
577717 |
.nf
|
|
Packit |
577717 |
.B #include <perfmon/pfmlib.h>
|
|
Packit |
577717 |
.sp
|
|
Packit |
577717 |
.B PMU name: amd64_fam10h_barcelona, amd64_fam10h_shanghai, amd64_fam10h_istanbul
|
|
Packit |
577717 |
.B PMU desc: AMD64 Fam10h Barcelona, AMD64 Fam10h Shanghai, AMD64 Fam10h Istanbul
|
|
Packit |
577717 |
.sp
|
|
Packit |
577717 |
.SH DESCRIPTION
|
|
Packit |
577717 |
The library supports AMD Family 10h processors in both 32 and 64-bit modes. They correspond
|
|
Packit |
577717 |
to processor family 16.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
.SH MODIFIERS
|
|
Packit |
577717 |
The following modifiers are supported on AMD64 Family 10h (16) processors:
|
|
Packit |
577717 |
.TP
|
|
Packit |
577717 |
.B u
|
|
Packit |
577717 |
Measure at user level which includes privilege levels 1, 2, 3. This corresponds to \fBPFM_PLM3\fR.
|
|
Packit |
577717 |
This is a boolean modifier.
|
|
Packit |
577717 |
.TP
|
|
Packit |
577717 |
.B k
|
|
Packit |
577717 |
Measure at kernel level which includes privilege level 0. This corresponds to \fBPFM_PLM0\fR.
|
|
Packit |
577717 |
This is a boolean modifier.
|
|
Packit |
577717 |
.TP
|
|
Packit |
577717 |
.B h
|
|
Packit |
577717 |
Measure at while executing in host mode (when using virtualization). This corresponds to \fBPFM_PLMH\fR.
|
|
Packit |
577717 |
This modifier is available starting with Fam10h. This is a boolean modifier.
|
|
Packit |
577717 |
.TP
|
|
Packit |
577717 |
.B g
|
|
Packit |
577717 |
Measure at while executing in guest mode (when using virtualization). This modifier is available
|
|
Packit |
577717 |
starting with Fam10h. This is a boolean modifier.
|
|
Packit |
577717 |
.TP
|
|
Packit |
577717 |
.B i
|
|
Packit |
577717 |
Invert the meaning of the event. The counter will now count cycles in which the event is \fBnot\fR
|
|
Packit |
577717 |
occurring. This is a boolean modifier
|
|
Packit |
577717 |
.TP
|
|
Packit |
577717 |
.B e
|
|
Packit |
577717 |
Enable edge detection, i.e., count only when there is a state transition. This is a boolean modifier.
|
|
Packit |
577717 |
.TP
|
|
Packit |
577717 |
.B c
|
|
Packit |
577717 |
Set the counter mask value. The mask acts as a threshold. The counter will count the number of cycles
|
|
Packit |
577717 |
in which the number of occurrences of the event is greater or equal to the threshold. This is an integer
|
|
Packit |
577717 |
modifier with values in the range [0:255].
|
|
Packit |
577717 |
.SH AUTHORS
|
|
Packit |
577717 |
.nf
|
|
Packit |
577717 |
Stephane Eranian <eranian@gmail.com>
|
|
Packit |
577717 |
Robert Richter <robert.richter@amd.com>
|
|
Packit |
577717 |
.if
|
|
Packit |
577717 |
.PP
|