Files
BlueRoseNote/03-UnrealEngine/卡通渲染相关资料/渲染功能/ARC/D3D12RHI/提交间隔记录器.md

36 lines
938 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: 提交间隔记录器
date: 2026-05-03 00:00:00
excerpt: D3D12 Submission Gap Recorder追踪 GPU 帧间提交间隔用于性能分析
tags:
- ARC
- D3D12RHI
- Profiling
rating: ⭐
---
# 提交间隔记录器
返回 [[D3D12RHI]]
## 概述
Submission Gap Recorder`D3D12_SUBMISSION_GAP_RECORDER`)是一个 GPU 性能分析系统,记录 D3D12 Command List 提交之间的间隔时间,用于识别 CPU-GPU 同步瓶颈和提交延迟。
## 功能
- 记录每帧 Command List 提交的时间戳
- 计算相邻提交之间的间隔Gap
- 识别异常长的提交间隔(可能的 CPU stall 或 GPU bubble
- 提供统计数据用于性能优化
## 使用场景
- 分析格斗游戏中的帧率卡顿原因
- 排查 CPU 提交瓶颈
- 验证多线程命令录制的效率
## 修改文件
涉及 D3D12RHI 模块多个文件,主要在命令列表管理和提交路径中插入时间戳记录点。