Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for heapMetrics (0.33 sec)

  1. src/cmd/trace/jsontrace_test.go

    		if e.Name == category && e.Phase == "M" {
    			names = append(names, e.Arg.(map[string]any)["name"].(string))
    		}
    	}
    	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
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top