Skip to main content

PIXReportCounter

Displays a user-defined counter in the PIX System Monitor view.

Syntax

Parameters

name   _In_
Type: PCWSTR
The name to display as a string. value   
Type: float
The value to display. This could be a duration, percentage, count, or float value. Consider mapping values to the range 0 to 100, as this range is the clearest in the PIX UI.

Return value

Type: void

Remarks

PIXReportCounter can be used to track an aspect of a game over time. During runtime, each time a function with the same name in called, the value parameter is plotted to create a timeline graph in the PIX System Monitor view. This can be used to track things like enemies on screen, objects in view, or anything else that might effect the performance of a capture.

Requirements

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

See also

PIX Counters (NDA topic)
PIX3
PIX (NDA topic)
Last modified on August 20, 2026