Reset the rig watcher CPU baseline when PIDs change #4835
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4835
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4834"
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?
@Andrew05213 on GitHub · 2026-12-01 10:42 UTC · original
Andrew05213:audit/watch-rig-cpu-pids→main· +7 −3 · 1 files · 1 commits · openWhat it changes
Compute CPU deltas only between samples with the same PID set and a positive elapsed interval. Reordering the same processes preserves their sampling baseline.
How it was tested
Synthetic watcher tests on Windows 11 build 26300, Windows PowerShell 5.1.26100.9818, and PowerShell 7.6.9.
5fabb46eaf6ed8771321787f8871051abde69b9b): Changing the process set introduced a 100% spike from a new process's historical CPU time.Game runs, live hardware telemetry, and Cargo were not tested.
Checked for overlap
AI-assisted contribution using OpenAI Codex.
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.