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: voidRemarks
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 consolesSee also
PIX Counters (NDA topic)PIX3
PIX (NDA topic)
