Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCPUMetricsSleep (0.12 sec)

  1. src/runtime/metrics_test.go

    	// Let the other goroutine acquire the lock.
    	mu.Unlock1()
    	done <- true
    
    	// Reset flag.
    	*runtime.CasGStatusAlwaysTrack = false
    	return blockTime
    }
    
    // See issue #60276.
    func TestCPUMetricsSleep(t *testing.T) {
    	if runtime.GOOS == "wasip1" {
    		// Since wasip1 busy-waits in the scheduler, there's no meaningful idle
    		// time. This is accurately reflected in the metrics, but it means this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top