Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generateMutexWaitTime (0.88 sec)

  1. src/runtime/metrics_test.go

    func (m *rwmutexWriteRead) Unlock2() { m.mu.RUnlock() }
    
    // generateMutexWaitTime causes a couple of goroutines
    // to block a whole bunch of times on a sync.Mutex, returning
    // the minimum amount of time that should be visible in the
    // /sync/mutex-wait:seconds metric.
    func generateMutexWaitTime(mu locker2) time.Duration {
    	// Set up the runtime to always track casgstatus transitions for metrics.
    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