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

# PIX3（API 内容）

> PIX3

# PIX3

Microsoft Game Development Kit (GDK) 的 PIX3 API 参考资料。

## 函数

| 函数 | 说明 |
| - | - |
| [ConfigureL2IPMCs](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/configurel2ipmcs.md) | 配置 L2 缓存内部的性能计数器。 |
| [ConfigureNBPMCs](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/configurenbpmcs.md) | 配置北桥内部的四个硬件性能监视计数器 (PMC)，使标题能够直接读取这些计数器供标题代码使用。 |
| [ConfigurePMCs](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/configurepmcs.md) | 配置四个硬件性能监视计数器 (PMC)，使标题能够直接读取这些计数器供标题代码使用。 |
| [GetPMCValue](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/getpmcvalue.md) | 获取硬件性能监视计数器 (PMC) 的值。 |
| [PIX\_COLOR](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pix_color.md) | 为事件指定特定颜色。 |
| [PIX\_COLOR\_INDEX](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pix_color_index.md) | 指定一组唯一的事件类别，并让 PIX 选择用于表示每个类别的颜色。 |
| [PIXBeginCapture](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixbegincapture.md) | 以编程方式启动受控的 PIX 捕获。 |
| [PIXBeginEvent](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixbeginevent-overloads.md) | 为 CPU 活动的时序捕获启动一个用户自定义事件，用于显示在 PIX 的 System Timing Capture 功能中。 |
| [PIXEndCapture](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixendcapture.md) | 停止使用 `PIXBeginCapture` 启动的、以编程方式受控的捕获。 |
| [PIXEndEvent](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixendevent-overloads.md) | 定义用户自定义事件的结束。 |
| [PIXGetCaptureState](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixgetcapturestate.md) | 以一组标志的形式检索当前正在进行的捕获类型。 |
| [PIXGetPowerMetrics (NDA 主题)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixgetpowermetrics.md) | 返回 XBOX Series 主机上的当前电源负载 |
| [PIXRecordMemoryAllocationEvent](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixrecordmemoryallocationevent.md) | 记录一次内存分配事件。 |
| [PIXRecordMemoryFreeEvent](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixrecordmemoryfreeevent.md) | 记录一次内存释放事件。 |
| [PIXReportCounter](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixreportcounter.md) | 在 PIX UI 中显示用户自定义计数器。 |
| [PIXScopedEvent](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixscopedevent-overloads.md) | 为 CPU 活动的时序捕获创建一个用户自定义事件，用于显示在 Performance Investigator for XBOX (PIX) 的 **Timing Capture** 功能中。 |
| [PIXSetMarker](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixsetmarker-overloads.md) | 当特定的用户自定义事件发生时，向 PIX System Timing Capture 窗口的 CPU 时间线插入一个标记。 |

## 结构

| 结构 | 说明 |
| - | - |
| [PIXCaptureParameters](https://docs.xbox.com/zh-CN/reference/tools/pix3/structs/pixcaptureparameters.md) | PIXBeginCapture 的参数。 |
| [PIXPowerMetrics (NDA 主题)](https://docs.xbox.com/zh-CN/reference/tools/pix3/structs/pixpowermetrics.md) | PIXGetPowerMetrics 的参数 |

## PIX GPU 捕获 API

有关更多信息，请参见 [PIX GPU capture APIs (NDA 主题)](https://docs.xbox.com/zh-CN/reference/tools/pix3/pix3_gpu_captures.md)。

## 概念性文档

* [ATG 系统合作检查清单](https://docs.xbox.com/zh-CN/build/atg-engagement/atg-systems-engagement.md)
* [工具和自动化 API](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/debug/atoc-api-tools-dev-env)
* [分析 CPU 性能（目录）](https://docs.xbox.com/zh-CN/tools/tools-console/pix/cpu-performance.md)
* [PIX API 参考](https://docs.xbox.com/zh-CN/tools/tools-console/pix/pix-api-reference.md)
* [XBOX Hang Investigation Tool (XHIT)](https://docs.xbox.com/zh-CN/tools/tools-console/xhit/xhit-tool.md)

## 另请参阅

[PIX 概述 (NDA 主题)](https://docs.xbox.com/zh-CN/tools/tools-console/pix/pix.md)\
[工具 API 参考](https://docs.xbox.com/zh-CN/reference/tools/gc-reference-tools-toc.md)


## Related topics

- [工具 API 参考](https://docs.xbox.com/zh-CN/reference/tools/gc-reference-tools-toc.md)
- [PIXReportCounter](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixreportcounter.md)
- [PIXBeginEvent(UINT64, PCSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixbeginevent.md)
- [XBOX GDK 主机开发 NDA 主题索引](https://docs.xbox.com/zh-CN/nda/nda-overview.md)
- [PIXBeginEvent(UINT64, PCWSTR, ...)](https://docs.xbox.com/zh-CN/reference/tools/pix3/functions/pixbeginevent_2.md)
