disk-load: cpu_top's shares use the unrounded busy time, and key units by cgroup path (issue 741)

This commit is contained in:
jochen
2026-10-15 15:06:06 +02:00
parent ab739d02dd
commit 2b1678f315
3 changed files with 99 additions and 12 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ func Tools(m *Machine) []stdio.Tool {
}
b := m.unitCPU()
machine := machineCPUOver(ac, bc)
top, unaccounted := m.topCPU(a, b, w, by, limit, machine.CPUsBusy)
top, unaccounted := m.topCPU(a, b, w, by, limit, machine.raw)
return map[string]any{
"window_s": w.Seconds(),
"by": by,