Pacer: VICTORY_TIMER_LOG also tallies the frame waits of each 5 s by kind, time-out, flags and how they ended #1657

Manually merged
github merged 4 commits from github-bot/gh-1657 into main 2026-11-29 08:21:43 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-28 23:06 UTC · original
101Leafy:nv/wait-tally → main · +65 −18 · 11 files · 4 commits · merged 2026-11-29 08:16 UTC

What it changes

VICTORY_TIMER_LOG=1 already logs how even the frames are every 5 s. It now also logs the frame waits of those 5 s by kind, time-out, and flags, each with how it ended (timed out, at once, or slept to the tick), how many there were, and how long they slept. That shows which of the title's waits holds a frame, and for how long, without a timeline trace.

How it was tested

  • Tested on: RTX 5080 16 GB on Windows 10
  • Built with clippy only, not run in a game yet.
  • Before: the timer log gave frame times only.
  • After: a frame waits in the last 5 s line follows, one entry per kind of wait. Without VICTORY_TIMER_LOG nothing changes.
  • For shader changes, the wave sizes tested: not a shader change.
  • cargo clippy -p victory-gpu --all-targets gives no warnings in frame.rs.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #1170 makes the VICTORY_TIMER_LOG lines show in release builds too, in another file.
**@⁠101Leafy** on GitHub · 2026-11-28 23:06 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1657) `101Leafy:nv/wait-tally` → `main` · +65 −18 · 11 files · 4 commits · merged 2026-11-29 08:16 UTC ## What it changes `VICTORY_TIMER_LOG=1` already logs how even the frames are every 5 s. It now also logs the frame waits of those 5 s by kind, time-out, and flags, each with how it ended (timed out, at once, or slept to the tick), how many there were, and how long they slept. That shows which of the title's waits holds a frame, and for how long, without a timeline trace. ## How it was tested - Tested on: RTX 5080 16 GB on Windows 10 - Built with clippy only, not run in a game yet. - Before: the timer log gave frame times only. - After: a `frame waits in the last 5 s` line follows, one entry per kind of wait. Without `VICTORY_TIMER_LOG` nothing changes. - For shader changes, the wave sizes tested: not a shader change. - `cargo clippy -p victory-gpu --all-targets` gives no warnings in `frame.rs`. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #1170 makes the `VICTORY_TIMER_LOG` lines show in release builds too, in another file.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 23:08:11 +00:00
github-bot force-pushed github-bot/gh-1657 from 1b6e183c49 to 7fc79ae207 2026-11-29 01:46:26 +00:00 Compare
github manually merged commit 4633fd4a00 into main 2026-11-29 08:21:43 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1657
No description provided.