> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PIXReportCounter

> PIXReportCounter

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

## Syntax

```cpp theme={null}
void PIXReportCounter(  
         PCWSTR name,  
         float value  
)  
```

### 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)](https://docs.xbox.com/tools/tools-console/pix/gpu/pix-counters.md)\
[PIX3](https://docs.xbox.com/reference/tools/pix3/pix3_members.md)\
[PIX  (NDA topic)](https://docs.xbox.com/tools/tools-console/pix/pix.md)


## Related topics

- [PIX3 (API contents)](https://docs.xbox.com/reference/tools/pix3/pix3_members.md)
- [How to use player publisher data to grant a reward for playing multiple titles](https://docs.xbox.com/services/playfab/player-progression/player-data/using-player-publisher-data.md)
- [Reports](https://docs.xbox.com/services/playfab/data-analytics/learn-data/reports/overview.md)
- [Gaming Sustainability testing in PIX](https://docs.xbox.com/build/game-principles/sustainability/sustainability-pix-guide.md)
- [PartyNetwork::GetNetworkStatistics](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_getnetworkstatistics.md)
