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

# PIXScopedEvent

> PIXScopedEvent

# PIXScopedEvent

These functions create a user-defined event for a timing capture of CPU activity, to be displayed in the **Timing Capture** feature of Performance Investigator for XBOX (PIX). Events defined by calling `PIXScopedEvent` begin when the API is called and end when the enclosing scope exits.

<a id="overloadsSection" />

## Overload list

| Name                                                                                          | Description                                                                                                                                                                                                       |
| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PIXScopedEvent(UINT64, PCSTR, ...)](/reference/tools/pix3/functions/pixscopedevent)          | Creates a user-defined event for a timing capture of CPU activity, to be displayed in the **Timing Capture** feature of Performance Investigator for XBOX (PIX).                                                  |
| [PIXScopedEvent(UINT64, PCWSTR, ...)](/reference/tools/pix3/functions/pixscopedevent)         | Creates a user-defined event for a timing capture of CPU activity, to be displayed in the **Timing Capture** feature of Performance Investigator for XBOX (PIX).                                                  |
| [PIXScopedEvent(void\*, UINT64, PCSTR, ...)](/reference/tools/pix3/functions/pixscopedevent)  | Creates a user-defined event for a context-specific timing capture of CPU activity or, for XBOX only, GPU activity, to be displayed in the **Timing Capture** feature of Performance Investigator for XBOX (PIX). |
| [PIXScopedEvent(void\*, UINT64, PCWSTR, ...)](/reference/tools/pix3/functions/pixscopedevent) | Creates a user-defined event for a context-specific timing capture of CPU activity or, for XBOX only, GPU activity, to be displayed in the **Timing Capture** feature of Performance Investigator for XBOX (PIX). |

<a id="seealsoSection" />

## Conceptual documentation

* [ATG Systems Engagement Checklist](/build/atg-engagement/atg-systems-engagement)

## See also

[PIX (NDA topic)](/tools/tools-console/pix/pix)<br />[PIX3](/reference/tools/pix3/pix3_members)


## Related topics

- [PIXScopedEvent function](/reference/tools/pix3/functions/pixscopedevent.md)
- [PIXScopedEvent reference](/reference/tools/pix3/functions/pixscopedevent_2.md)
- [PIXScopedEvent overview](/reference/tools/pix3/functions/pixscopedevent_4.md)
- [PIXScopedEvent function reference](/reference/tools/pix3/functions/pixscopedevent_3.md)
- [PIX_COLOR](/reference/tools/pix3/functions/pix_color.md)
