Skip to content

cpu: add cpu_max_core_load to show the busiest core's load - #2198

Merged
flightlessmango merged 1 commit into
flightlessmango:masterfrom
JROtto5:cpu-max-core-load
Nov 5, 2026
Merged

flightlessmango merged 1 commit into
flightlessmango:masterfrom
JROtto5:cpu-max-core-load

Conversation

@JROtto5

@JROtto5 JROtto5 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Closes #2180.

Shows the highest per-core load next to the CPU load, like the second CPU number in Steam's overlay. It reuses the per-core sample from /proc/stat and the cpu_load_change colors. Off in preset 4, which already shows core_load. Linux only; it reads 0 on Windows like cpu_mhz.

With one core pinned at 100% on a 32-thread i9-14900KF, glxgears shows CPU 5% 100% (/proc/stat over the same second: 6.0% total, 100% on cpu6).

The total CPU load averages all logical cores, so a game held back by
one saturated thread can read 6% on a 32 thread CPU.

Add cpu_max_core_load, which shows the highest per-core load from the
same /proc/stat sample next to the CPU load, colored like it when
cpu_load_change is set. Off in preset 4, which already shows core_load.
Linux only; it reads 0 on Windows like cpu_mhz.
@flightlessmango
flightlessmango merged commit 5e17836 into flightlessmango:master Nov 5, 2026
2 checks passed
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.

[Feature Request] Add Max CPU Core Usage

2 participants