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

Open
avt0m4t48 wants to merge 3 commits from upstream-pr/918 into main
avt0m4t48 commented 2026-11-25 12:47:23 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-25T12:47:23Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6604821513 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/918). Originally posted by [avt0m4t48](https://github.com/avt0m4t48) on 2026-11-25T12:47:23Z. --- 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.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/918:upstream-pr/918'
git switch 'upstream-pr/918'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/918'
git switch 'upstream-pr/918'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/918'
git switch 'upstream-pr/918'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/918'
git switch 'main'
git merge --squash 'upstream-pr/918'
git switch 'main'
git merge --ff-only 'upstream-pr/918'
git switch 'main'
git merge 'upstream-pr/918'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
fxceless/victory-fork!917
No description provided.