Timing runs: the card's time by kind of list #106

Manually merged
github merged 1 commit from github-bot/gh-106 into main 2026-11-26 08:21:46 +00:00 AGit
Owner

@⁠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 UTC

Timing 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 card's time by list (timing run), per frame, from sending to the signal: 54.7 ms in 307 lists;
the title's 43.6 ms in 219 (their noted commands 30.9, the rest 12.8: what of ours is recorded among
them, barriers, and the sending); preludes 8.4 ms in 73 (refreshes of copies); steps on the card ...;
compares of copies in the card's memory 2.7 ms in 15; others of ours ...; the least a list took 29 us

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 submit under #[cfg(feature = "diagnostics")]. Without timing nothing changes, and the build without diagnostics compiles as before.

cargo test -p victory-gpu --lib passes apart from timeline::report::tests::real_waits_are_recorded_with_who_ended_them, which fails the same way on main. Checked in a timing run of the title.

🤖 Generated with Claude Code

**@⁠SousaTrashBin** on GitHub · 2026-11-26 03:32 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/106) `SousaTrashBin:rdna4/gpu-timing-by-list` → `main` · +122 −14 · 2 files · 1 commits · merged 2026-11-26 08:17 UTC ## Timing 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 card's time by list (timing run), per frame, from sending to the signal: 54.7 ms in 307 lists; the title's 43.6 ms in 219 (their noted commands 30.9, the rest 12.8: what of ours is recorded among them, barriers, and the sending); preludes 8.4 ms in 73 (refreshes of copies); steps on the card ...; compares of copies in the card's memory 2.7 ms in 15; others of ours ...; the least a list took 29 us ``` 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 `submit` under `#[cfg(feature = "diagnostics")]`. Without timing nothing changes, and the build without diagnostics compiles as before. `cargo test -p victory-gpu --lib` passes apart from `timeline::report::tests::real_waits_are_recorded_with_who_ended_them`, which fails the same way on `main`. Checked in a timing run of the title. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
With VICTORY_GPU_TIMING each list runs and is timed on its own, preludes and
the compare of copies in the card's memory included, and the frame line sums
them: the title's lists (their noted commands and the rest), preludes, steps on
the card, compares, others of ours, and the least a list took.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:24:42 +00:00
Author
Owner

@⁠avatarmanz on GitHub · 2026-11-26 07:55 UTC · original

Merged into main in the next push (tests pass); thanks.

**@⁠avatarmanz** on GitHub · 2026-11-26 07:55 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/106#issuecomment-7185980996) Merged into main in the next push (tests pass); thanks.
github manually merged commit 1778ac5fa9 into main 2026-11-26 08:21:46 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.