GPU: add optional memory category log #69
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!69
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-69"
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?
@Adika713 on GitHub · 2026-11-26 01:33 UTC · original
Adika713:fix/memory-category-logs→main· +71 −3 · 1 files · 1 commits · merged 2026-11-26 08:17 UTCAdds an off-by-default
VICTORY_MEMORY_CATEGORIES=1diagnostics line so memory reductions can be judged against working set and commit headroom, not just private bytes. No pagefile change and no runtime behavior change when the switch is off.What is in it
memory by categoryline invictory-gpu, using counters that already exist.Tested
cargo build --locked --profile diag -p victory --features diagnostics, exit 0.cargo test --locked -p victory-gpu --features diagnostics --lib copystat::own_tests::the_category_line_formats_megabytes -- --exact --test-threads=1: 1 passed / 0 failed / 408 filtered.descriptor::host::tests::views_are_made_beside_the_heap_and_copied_in; it also fails on base0a43566.victory-gpu325 passed / 1 failed / 34 ignored; all other targets passed.Not tested
AI use: OpenCode, model Big Pickle.
@avatarmanz on GitHub · 2026-11-26 07:55 UTC · original
Merged into main in the next push (tests pass); thanks.