feat(diagnostics): trace GPU submission and resource retirement stalls #1564
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1564"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by jeremygold02 on 2026-11-28T21:46:17Z.
What it changes
Long frames can overlap GPU fence waits, CPU submission preparation, and cleanup of completed work. This adds timestamped, opt-in measurements to distinguish them in a release build. It preserves submission and retirement ordering.
VICTORY_REMAP_TIMING=1VICTORY_RELAY_TIMING=1VICTORY_SUBMISSION_TIMING=1VICTORY_MEMORY_TRACE=1All four flags default to off and enable only on the exact value
1. The launcher defaults are unchanged. SetVICTORY_LOG=warn,victory_gpu::host=info,victory_gpu::queue=info,victory_gpu::frame_times=infoto capture the events.How it was tested
cargo test: not run for this follow-up.Checked for overlap