diff --git a/api/tasks.go b/api/tasks.go index 1a80212fd..153aa0b60 100644 --- a/api/tasks.go +++ b/api/tasks.go @@ -14,10 +14,11 @@ type MemoryStats struct { } type CpuUsage struct { - SystemMode uint64 - UserMode uint64 + SystemMode float64 + UserMode float64 ThrottledPeriods uint64 ThrottledTime uint64 + Percent float64 } type TaskResourceUsage struct {