mirror of
https://github.com/aristocratos/btop.git
synced 2026-04-17 05:28:56 -04:00
The Linux /proc/stat fields "guest" and "guest_nice" are already included in "user" and "nice". In Proc::collect do like Cpu::collect does and don't double count them. The double-counting caused the CPU usage denominator to be too large when VM guests were active, causing the reported CPU usage percentages of all processes to be too small. Closes: https://github.com/aristocratos/btop/issues/1608