var runtime.mutexprofilerate
6 uses
runtime (current package)
mprof.go#L430: var mutexprofilerate uint64 // fraction sampled
mprof.go#L441: return int(mutexprofilerate)
mprof.go#L443: old := mutexprofilerate
mprof.go#L444: atomic.Store64(&mutexprofilerate, uint64(rate))
mprof.go#L453: rate := int64(atomic.Load64(&mutexprofilerate))
sema.go#L125: if profile&semaMutexProfile != 0 && mutexprofilerate > 0 {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |