Skip to main content

ConfigurePMCs

Configures the four hardware Performance Monitor Counters (PMCs) to enable a title to read the counters directly for the title code.

Syntax

Parameters

eventIndex0   
Type: unsigned int
Index of the event to count. eventIndex1   
Type: unsigned int
Index of the event to count. eventIndex2   
Type: unsigned int
Index of the event to count. eventIndex3   
Type: unsigned int
Index of the event to count.

Return value

Type: HRESULT Success or error code.

Remarks

There are four hardware counters that can be configured directly to count events. The events are listed in the table below. The index of the event is used both to specify the event for this method, and to retrieve the count using GetPMCValue.

Requirements

Header: pix3.h Library: pixevt.lib Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

ConfigureL2IPMCs
ConfigureNBPMCs
GetPMCValue
PIX (NDA topic)
PIX3 on XBOX
Last modified on August 20, 2026