- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for hm (0.04 sec)
-
cmd/metrics-v3-cache.go
m := collectLocalMetrics(types, collectMetricsOpts{ hosts: map[string]struct{}{ globalLocalNodeName: {}, }, }) for _, hm := range m.ByHost { if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 { v = hm.Mem.Info break } } return } return cachevalue.NewFromFunc(1*time.Minute, cachevalue.Opts{ReturnLastGood: true}, loadMemoryMetrics)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 8.1K bytes - Viewed (0) -
src/cmd/trace/jsontrace_test.go
} } return } func checkPlausibleHeapMetrics(t *testing.T, data format.Data) { hms := heapMetrics(data) var nonZeroAllocated, nonZeroNextGC bool for _, hm := range hms { if hm.Allocated > 0 { nonZeroAllocated = true } if hm.NextGC > 0 { nonZeroNextGC = true } } if !nonZeroAllocated { t.Errorf("nonZeroAllocated=%v, want true", nonZeroAllocated) } if !nonZeroNextGC {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0)