|
|||||||||||||||||
:: | |||||||||||||||||
|
NAMElibpfm_intel_snb - support for Intel Sandy Bridge core PMUSYNOPSIS#include <perfmon/pfmlib.h> PMU name: snb PMU desc: Intel Sandy Bridge DESCRIPTIONThe library supports the Intel Sandy Bridge core PMU. It should be noted that this PMU model only covers the each core's PMU and not the socket level PMU. This PMU model covers only th single socket Sandy Bridge processors, a.k.a., Intel Core I7 2xxx series.On Sandy Bridge, the number of generic counters depends on the Hyperthreading (HT) mode. When HT is on, then only 4 generic counters are available. When HT is off, then 8 generic counters are available. The pfm_get_pmu_info() function returns the maximum number of generic counters in num_cntrs. MODIFIERSThe following modifiers are supported on Intel Sandy Bridge processors:
OFFCORE_RESPONSE_0 eventThe event needs special treatment because it uses two MSRs: a generic counter and MSR @ 0x1a6.The OFFCORE_RESPONSE_0 event is exposed as a normal event with several umasks which are divided in two groups: request and response. The user must provide at least one umask from each group. For instance, OFFCORE_RESPONSE_0:ANY_DATA:LOCAL_DRAM. When using pfm_get_event_encoding(), two 64-bit values are returned. The first value, in codes[0], corresponds to what needs to be programmed into any of the generic counters. The second value, codes[1], must be programmed into the dedicated MSR 0x1a6. When using an OS-specific encoding routine, the way the event is encoded is OS specific. Refer to the corresponding man page for more information. OFFCORE_RESPONSE_1 eventThe event needs special treatment because it uses two MSRs: a generic counter and MSR @ 0x1a7.The OFFCORE_RESPONSE_1 event is exposed as a normal event with several umasks which are divided in two groups: request and response. The user must provide at least one umask from each group. For instance, OFFCORE_RESPONSE_1:ANY_DATA:LOCAL_DRAM. When using pfm_get_event_encoding(), two 64-bit values are returned. The first value, in codes[0], corresponds to what needs to be programmed into any of the generic counters. The second value, codes[1], must be programmed into the dedicated MSR 0x1a7. When using an OS-specific encoding routine, the way the event is encoded is OS specific. Refer to the corresponding man page for more information. AUTHORSStephane Eranian <eranian@gmail.com> IndexThis document was created by man2html, using the manual pages. Time: 11:46:10 GMT, March 02, 2011
|