Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readMetricsLocked (0.24 sec)

  1. src/runtime/export_test.go

    	metricsLock()
    	initMetrics()
    
    	systemstack(func() {
    		// Donate the racectx to g0. readMetricsLocked calls into the race detector
    		// via map access.
    		getg().racectx = getg().m.curg.racectx
    
    		// Read the metrics once before in case it allocates and skews the metrics.
    		// readMetricsLocked is designed to only allocate the first time it is called
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top