- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for generateMutexWaitTime (0.88 sec)
-
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)