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

# PIXScopedEvent

> PIXScopedEvent

# PIXScopedEvent

这些函数会为 CPU 活动的时序捕获创建一个用户自定义事件，用于显示在 Performance Investigator for XBOX (PIX) 的 **Timing Capture** 功能中。通过调用 `PIXScopedEvent` 定义的事件在 API 被调用时开始，并在包围它的作用域退出时结束。

## 重载列表

| 名称 | 说明 |
| - | - |
| [PIXScopedEvent(UINT64, PCSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent.md) | 为 CPU 活动的时序捕获创建一个用户自定义事件，用于显示在 Performance Investigator for XBOX (PIX) 的 **Timing Capture** 功能中。 |
| [PIXScopedEvent(UINT64, PCWSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent.md) | 为 CPU 活动的时序捕获创建一个用户自定义事件，用于显示在 Performance Investigator for XBOX (PIX) 的 **Timing Capture** 功能中。 |
| [PIXScopedEvent(void\*, UINT64, PCSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent.md) | 为特定上下文的 CPU 活动时序捕获（在 XBOX 上还可用于 GPU 活动）创建一个用户自定义事件，用于显示在 Performance Investigator for XBOX (PIX) 的 **Timing Capture** 功能中。 |
| [PIXScopedEvent(void\*, UINT64, PCWSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent.md) | 为特定上下文的 CPU 活动时序捕获（在 XBOX 上还可用于 GPU 活动）创建一个用户自定义事件，用于显示在 Performance Investigator for XBOX (PIX) 的 **Timing Capture** 功能中。 |

## 概念性文档

* [ATG 系统合作检查清单](https://docs.xbox.com/zh-CN/build/atg-engagement/atg-systems-engagement.md)

## 另请参阅

[PIX (NDA 主题)](https://docs.xbox.com/zh-CN/tools/tools-console/pix/pix.md)\
[PIX3](https://docs.xbox.com/zh-CN/reference/tools/pix3/pix3_members.md)


## Related topics

- [PIXScopedEvent(UINT64, PCSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent.md)
- [PIXScopedEvent(UINT64, PCWSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent_2.md)
- [PIXScopedEvent(void*, UINT64, PCSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent_3.md)
- [PIXScopedEvent(void*, UINT64, PCWSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent_4.md)
- [PIX_COLOR](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pix_color.md)
