GPU: distinguish missing frame timestamp samples from zero time #918

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

@⁠avt0m4t48 on GitHub · 2026-11-25 12:47 UTC · original
avt0m4t48:fix/frame-meter-no-samples → main · +52 −23 · 2 files · 3 commits · open

The frame log now reports no GPU timestamp samples when all three list counts are zero. The collector skips timestamp pairs that are still zeroed or run backwards, so an unavailable pair cannot masquerade as a measured zero. A complete pair with equal timestamps is a valid zero-duration sample. This distinction matters when reading performance logs such as #912.

On the current PR head, all five frame-log tests and both timestamp-accounting tests passed on Windows. The Rust check targeting MSVC and the asset-policy check passed locally. Windows run

AI-assisted using Codex.

**@⁠avt0m4t48** on GitHub · 2026-11-25 12:47 UTC · [original](https://github.com/fxceless/victory-fork/pull/918) `avt0m4t48:fix/frame-meter-no-samples` → `main` · +52 −23 · 2 files · 3 commits · open The frame log now reports `no GPU timestamp samples` when all three list counts are zero. The collector skips timestamp pairs that are still zeroed or run backwards, so an unavailable pair cannot masquerade as a measured zero. A complete pair with equal timestamps is a valid zero-duration sample. This distinction matters when reading performance logs such as #912. On the current PR head, all five frame-log tests and both timestamp-accounting tests passed on Windows. The Rust check targeting MSVC and the asset-policy check passed locally. [Windows run](https://github.com/avt0m4t48/victory-fork/actions/runs/45618212137) AI-assisted using Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:53:50 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/cardmeter.rs
  • crates/victory-gpu/src/framelog.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

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