You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running an all core load (compiling applications) All of my cores show 100% usage, while the total CPU usage% bar shows 99%.
To Reproduce
Compile something, in my case I'm compiling net-im/telegram-desktop on gentoo.
Expected behavior
The CPU Usage% bar to show 100% when all of my cores show 100%.
Screenshots
Info (please complete the following information):
btop++ version: 1.3.2-1
Binary: Gentoo binary release
Architecture: x86_64
Platform: Linux
(Linux) Kernel: 6.11.5-xanmod1
Terminal used: Alacritty
Font used: JetBrainsMono Nerd Font
Additional context
2024/11/13 (08:36:46) | ===> btop++ v.1.3.2
2024/11/13 (08:36:46) | INFO: Logger set to INFO
2024/11/13 (08:36:47) | INFO: Logger set to DEBUG
2024/11/13 (08:36:48) | INFO: Logger set to INFO
The text was updated successfully, but these errors were encountered:
So, even when your cpu's are fully used, calc_idles will be 1 instead of 0.
This isn't noticeable with high interval times, but with low interval times the total percentage will be slightly too low.
When the idle ticks per cpu are calculated, 0 is used, therefore the percentage per cpu is correct:
I think we can just do this too for the total calculation. But when calc_totals is 0, a division by zero would occur, so there has to be made an exception for that.
Describe the bug
When running an all core load (compiling applications) All of my cores show 100% usage, while the total CPU usage% bar shows 99%.
To Reproduce
Compile something, in my case I'm compiling net-im/telegram-desktop on gentoo.
Expected behavior
The CPU Usage% bar to show 100% when all of my cores show 100%.
Screenshots
Info (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: