Diagnostics (off by default): critical path per frame and the card's busy time in the fps line #429

Open
github-bot wants to merge 3 commits from github-bot/gh-429 into main AGit
Owner

@⁠LeonardoS11 on GitHub · 2026-11-27 04:00 UTC · original
LeonardoS11:pr/av-critical-path → main · +356 −3 · 6 files · 3 commits · open

Instrumentation only, off by default.

  • VICTORY_CRITICAL_PATH=1: one line a frame with the three chains (the submitting thread, the busiest recording thread, the relay) and the timers of the submitting thread's refresh flushes.
  • At the end of the fps line: "the card busy ... ms/frame", from our fence clock. The "on the GPU" figure in that line is only the submitting thread's synchronous wait (3-10 ms here), while the card is busy about 37 ms a frame on an RTX 3080 Ti.

Take it only if you want these measurements.

AI-assisted (Claude in Claude Code). Built from source and run on an RTX 3080 Ti (Windows 11). No game data.

🤖 Generated with Claude Code

**@⁠LeonardoS11** on GitHub · 2026-11-27 04:00 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/429) `LeonardoS11:pr/av-critical-path` → `main` · +356 −3 · 6 files · 3 commits · open Instrumentation only, off by default. - `VICTORY_CRITICAL_PATH=1`: one line a frame with the three chains (the submitting thread, the busiest recording thread, the relay) and the timers of the submitting thread's refresh flushes. - At the end of the fps line: "the card busy ... ms/frame", from our fence clock. The "on the GPU" figure in that line is only the submitting thread's synchronous wait (3-10 ms here), while the card is busy about 37 ms a frame on an RTX 3080 Ti. Take it only if you want these measurements. *AI-assisted (Claude in Claude Code). Built from source and run on an RTX 3080 Ti (Windows 11). No game data.* 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Submission (ExecuteCommandLists or the async submitting thread), the busiest
recording thread (with THIN: the victory-list threads' translate), and the
relay's landings, with the frame line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 928711fd9719e12b651f4eb02bb931ff22323a33)
Telling those known to copy nothing (and per refresh), asking the write
watch ahead, the updates (wall), the textures' checks; with the chains line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 810331b558d79fd37b92debe80146c824291c8f9)
The line's 'on the GPU' is only the submitting thread's own waits for the
card (3-10 ms while the card ran ~37 ms a frame of our submissions, timeline
of 26/11). It keeps its words for the test kit's parser; the card's busy
time (frame less the time nothing of ours was queued) goes at the end.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 1432d8be46280934b7c6610770c76c129835ee0c)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 04:00:52 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/429/head:github-bot/gh-429'
git switch 'github-bot/gh-429'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-429'
git switch 'github-bot/gh-429'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-429'
git switch 'github-bot/gh-429'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-429'
git switch 'main'
git merge --squash 'github-bot/gh-429'
git switch 'main'
git merge --ff-only 'github-bot/gh-429'
git switch 'main'
git merge 'github-bot/gh-429'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.