- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for resourceMetricsMap (0.08 sec)
-
cmd/metrics-v3-system-cpu.go
m.Set(sysCPUSteal, cpuStealVal) } // metrics-resource.go runs a job to collect resource metrics including their Avg values and // stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait. cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem] if found { if cpuIdleMetric, ok := cpuResourceMetrics[getResourceKey(cpuIdle, nil)]; ok { avgVal := math.Round(cpuIdleMetric.Avg*100) / 100
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 3K bytes - Viewed (0)