GetPMCValue
Gets the value of a hardware Performance Monitor Counter (PMC).
Syntax
void GetPMCValue(
UINT32 index,
UINT64* value
)
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)Authorization required