Stall watch: when a frame takes longer than VICTORY_STALL_MS, log memory counters and every thread's stack #5011
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5011"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by xteral67 on 2026-12-01T17:17:19Z.
What it changes
Long freezes (seconds) are hard to explain from the frame log alone. With
VICTORY_STALL_MS=<ms>in a diagnostics build, a watcher thread notices when a frame takes longer than the threshold and writes:victory-loader/src/stacks.rs).All new code is behind
#[cfg(feature = "diagnostics")]; release builds do not change. Off unless the variable is set.How it was tested
cargo test, other cards, Series S profile, a release build with clippy.Checked for overlap
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.