- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for cpuTime (0.24 sec)
-
cmd/metrics-v2.go
MetricV2{ Description: getMinIOProcessVirtualMemory(), Value: float64(stat.VirtualMemory()), }) } if stat.CPUTime() > 0 { metrics = append(metrics, MetricV2{ Description: getMinIOProcessCPUTime(), Value: stat.CPUTime(), }) } return }) return mg } func getGoMetrics() *MetricsGroupV2 { mg := &MetricsGroupV2{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 131.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
tests := []struct { name string cpuReq *resource.Quantity cpuLim *resource.Quantity memLim *resource.Quantity expected *runtimeapi.LinuxContainerResources cgroupVersion CgroupVersion }{ { name: "Request128MBLimit256MB", cpuReq: generateResourceQuantity("1"), cpuLim: generateResourceQuantity("2"), memLim: generateResourceQuantity("128Mi"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
cmd/metrics-realtime.go
if types.Contains(madmin.MetricsCPU) { m.Aggregated.CPU = &madmin.CPUMetrics{ CollectedAt: UTCNow(), } cm, err := c.Times(false) if err != nil { m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuTimes)", byHostName, err.Error())) } else { // not collecting per-cpu stats, so there will be only one element if len(cm) == 1 { m.Aggregated.CPU.TimesStat = &cm[0] } else {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:16:24 UTC 2024 - 6.3K bytes - Viewed (0)