Skip to content

Real-time process CPU usage, add Windows Game Mode controls, dark title bar and improved logger#84

Open
RegentScar wants to merge 7 commits intoSimonvBez:mainfrom
RegentScar:main
Open

Real-time process CPU usage, add Windows Game Mode controls, dark title bar and improved logger#84
RegentScar wants to merge 7 commits intoSimonvBez:mainfrom
RegentScar:main

Conversation

@RegentScar
Copy link
Copy Markdown
Contributor

Some changes I think make the user experience better:

  • The per-process CPU usage now shows real-time usage instead of the 30-second average
  • CPU usage updates, core usage updates, and sorting updates are now paused when minimized to the system tray to reduce CPU usage in the background
  • Title bar color now changes depending on the theme
  • Added in-app control for Windows Game Mode
  • Repeated log messages are now collapsed
  • See commit messages for more details

Feel free to make changes where necessary.

Replaces average CPU usage with real-time measurement in the process list.
Pause process CPU usage updates, core usage updates and sorting updates when the window is hidden (in System-Tray).
- Add a CheckBox to the processes window for toggling Game Mode directly from the app
- Allow disabling Game Mode through the GameModeWarning popup
- Clear and reapply all active masks when Windows Game Mode is enabled/disabled
- Add periodic polling to detect external Game Mode changes
Allows quick switching for games that cause issues with CPU Set Setter without needing to close the app
Reduces log clutter when processes have the same name, like Discord or browsers
@SimonvBez
Copy link
Copy Markdown
Owner

SimonvBez commented Apr 11, 2026

Howdy! First off thank you for your work again. It's been really busy for me, and will be for some more time. I think it's gonna be at least 2 weeks sadly until I can properly do a review, but I will get to it!
But the theme dependent title bar sounds very promising!
I'm not completely sure about the real-time CPU usage though. I made it use a 30s average on purpose, as I figured that the most relevant processes someone might want to change, are the ones with a higher usage. Some games will pause when tabbing out, causing an instant drop in usage. With average CPU usage, that game will still be at the top of the list for a while. It will also reduce how much processes move up and down through the list, making it easier for them to be found.

@RegentScar
Copy link
Copy Markdown
Contributor Author

No worries, I will also be quite busy for the next few weeks, so take your time.

I changed it to show the real-time CPU usage because this also shows processes that only spike occasionally, which would be missed with the 30s average. This way, they can be set to only use cores that handle background tasks, which can make games run more smoothly. If someone is searching for a specific process, they can still find it by pressing Ctrl to pause the sorting or using the search bar.

I see your point behind the average approach, but in my testing, paused games always showed up at the top even when minimized because their CPU is still significantly higher than Windows processes or other apps like browsers or Discord. Changing it to the real-time approach also enabled me to pause the process CPU usage updates when CPUSetSetter is closed to the system tray, which reduces CPU usage while it is not actively used.

If you still prefer the averaged approach after testing, we can still revert it to the 30s average.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants