- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for saveblockevent (0.32 sec)
-
src/runtime/mprof.go
} func blockevent(cycles int64, skip int) { if cycles <= 0 { cycles = 1 } rate := int64(atomic.Load64(&blockprofilerate)) if blocksampled(cycles, rate) { saveblockevent(cycles, rate, skip+1, blockProfile) } } // blocksampled returns true for all events where cycles >= rate. Shorter // events have a cycles/rate random chance of returning true.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0)