fix(gpu): average copy statistics over the full reporting interval #87
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!87
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/87/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@jeremygold02 on GitHub · 2026-11-24 00:21 UTC · original
jeremygold02:codex/copy-stat-frame-window→main· +9 −1 · 1 files · 1 commits · merged 2026-11-24 07:48 UTCThe frame-rate meter updates about once a second. The detailed copy counters accumulate until they are logged about every five seconds. Dividing those counters by the last frame-rate sample inflated the reported submissions, copied bytes and time spent checking for writes per frame.
Count presentations across the full copy-statistics interval and reset that count when the logger drains the counters. The change is confined to diagnostics builds.
Verification
35b054e.cargo check --locked -p victory-gpupassed with and without--features diagnosticson Windows.@DaviTostes on GitHub · 2026-11-24 01:14 UTC · original
Tested
b304b7dwith the diagnostics feature on the Windows build under Wine 11.22 + vkd3d-proton 3.1 (Arch Linux x86_64, AMD RX 9060 XT, RADV 26.3.1), with a native Microsoftd3dcompiler_47: pass, no regression.victory_gpu(diagnostics): 38 passed, 2 failed — the two environment-only failures (a_rejected_blob_gives_an_empty_library, and #128's upload skip).--features diagnostics; the diff adds no test, so this only shows nothing else broke.No game data used.