Skip to main content

GetPMCValue

Gets the value of a hardware Performance Monitor Counter (PMC).

Syntax

Parameters

index   
Type: UINT32
Index of the hardware counter (from 0 to 3). value   
Type: UINT64*
The value of the counter, as a pointer to a 64 bit integer.

Return value

Type: void

Remarks

There are four hardware counters that can be configured directly to count events. The countable events are listed in the remarks for ConfigurePMCs. ConfigurePMCs is used to configure the hardware counters to track event. You can then use GetPMCValue to retrieve the counts of one of the configured events.

Requirements

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

See also

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