disk-load: cpu_top's shares use the unrounded busy time, and key units by cgroup path (issue 741)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user