> ## 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.

# PIXBeginEvent Function

> PIXBeginEvent Function

# PIXBeginEvent Function

Starts a user-defined event for a timing capture of CPU activity, to be displayed in the System Timing Capture feature of PIX.  Calls to `PIXBeginEvent` must have a corresponding call to [PIXEndEvent](/reference/tools/pix3/functions/pixendevent).  Both calls must be made from the same thread.

<a id="overloadsSection" />

## Overload list

| Name                                                                                                       | Description                                                                                                                    |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| [PIXBeginEvent (UINT64, PCSTR, ...)](/reference/tools/pix3/functions/pixbeginevent)                        | Starts a user-defined event for a timing capture of CPU activity, to be displayed in the System Timing Capture feature of PIX. |
| [PIXBeginEvent (UINT64, PCWSTR, ...)](/reference/tools/pix3/functions/pixbeginevent_2)                     | Starts a user-defined event for a timing capture of CPU activity, to be displayed in the System Timing Capture feature of PIX. |
| [PIXBeginEvent (void\*, UINT64, PCSTR, ...)](/reference/tools/pix3/functions/pixbeginevent_3)              | Starts a user-defined event for a timing capture of CPU activity, to be displayed in the System Timing Capture feature of PIX. |
| [PIXBeginEvent (void\*, UINT64, PCWSTR, ...)](/reference/tools/pix3/functions/pixbeginevent_4)             | Starts a user-defined event for a timing capture of CPU activity, to be displayed in the System Timing Capture feature of PIX. |
| [PIXBeginRetailEvent (void\*, UINT64, PCSTR, ...)](/reference/tools/pix3/functions/pixbeginretailevent)    | Starts a user-defined retail event.                                                                                            |
| [PIXBeginRetailEvent (void\*, UINT64, PCWSTR, ...)](/reference/tools/pix3/functions/pixbeginretailevent_2) | Starts a user-defined retail event.                                                                                            |

<a id="seealsoSection" />

## Conceptual documentation

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

## See also

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


## Related topics

- [PIXBeginEvent function](/reference/tools/pix3/functions/pixbeginevent.md)
- [PIXBeginEvent overview](/reference/tools/pix3/functions/pixbeginevent_4.md)
- [PIXBeginEvent reference](/reference/tools/pix3/functions/pixbeginevent_3.md)
- [PIXBeginEvent function reference](/reference/tools/pix3/functions/pixbeginevent_2.md)
- [PIXBeginRetailEvent function](/reference/tools/pix3/functions/pixbeginretailevent.md)
