mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
updating the CpuStats api
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user