vault backup: 2026-05-03 20:37:58

This commit is contained in:
2026-05-03 20:37:58 +08:00
parent 4fb34c6f38
commit 83502d0874
37 changed files with 2411 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
---
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 模块多个文件,主要在命令列表管理和提交路径中插入时间戳记录点。