Timing runs: the card's time by kind of list #106
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!106
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-106"
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?
@SousaTrashBin on GitHub · 2026-11-26 03:32 UTC · original
SousaTrashBin:rdna4/gpu-timing-by-list→main· +122 −14 · 2 files · 1 commits · merged 2026-11-26 08:17 UTCTiming runs: the card's time by kind of list
With
VICTORY_GPU_TIMING, each list of a submission now runs and is timed on its own, including a run's prelude (its refreshes) and the compare of copies in the card's memory, which used to share a group with neighbouring lists. A new frame-line entry sums them by kind:The commands' sums by pipeline only covered the title's noted commands. This line shows where the rest of the card's time goes: the layer's own work recorded among the title's commands, the preludes, the card steps, the compares, and the cost of sending each list. "The least a list took" estimates what sending an empty list costs in a timing run.
This is what showed, on an RX 9070 XT, that about half the card's time was outside the title's commands.
Diagnostics only: lists are labelled in
submitunder#[cfg(feature = "diagnostics")]. Without timing nothing changes, and the build without diagnostics compiles as before.cargo test -p victory-gpu --libpasses apart fromtimeline::report::tests::real_waits_are_recorded_with_who_ended_them, which fails the same way onmain. Checked in a timing run of the title.🤖 Generated with Claude Code
@avatarmanz on GitHub · 2026-11-26 07:55 UTC · original
Merged into main in the next push (tests pass); thanks.