Scroll to navigation

LIBPFM(3) Linux Programmer's Manual LIBPFM(3)

NAME libpfm_intel_wsm_unc - support for Intel Westmere uncore PMU

SYNOPSIS

#include <perfmon/pfmlib.h>
PMU name: wsm_unc PMU desc: Intel Westmere uncore

DESCRIPTION

The library supports the Intel Westmere uncore PMU as implemented by processors such as Intel Core i7, and Intel Core i5 (models 37, 44).
The PMU is located at the socket-level and is therefore shared between the various cores. By construction it can only measure at all privilege levels.

MODIFIERS

The following modifiers are supported on Intel Westmere processors:
i
Invert the meaning of the event. The counter will now count cycles in which the event is not occurring. This is a boolean modifier
e
Enable edge detection, i.e., count only when there is a state transition. This is a boolean modifier.
c
Set the counter mask value. The mask acts as a threshold. The counter will count the number of cycles in which the number of occurrences of the event is greater or equal to the threshold. This is an integer modifier with values in the range [0:255].
o
Causes the queue occupancy counter associated with the event to be cleared (zeroed). This is a boolean modifier.

AUTHORS

Stephane Eranian <eranian@gmail.com>
February, 2010