diff options
Diffstat (limited to 'src/runtime/mprof.go')
| -rw-r--r-- | src/runtime/mprof.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/mprof.go b/src/runtime/mprof.go index 308ebaebe6..45f107722a 100644 --- a/src/runtime/mprof.go +++ b/src/runtime/mprof.go @@ -553,8 +553,6 @@ func mutexevent(cycles int64, skip int) { cycles = 0 } rate := int64(atomic.Load64(&mutexprofilerate)) - // TODO(pjw): measure impact of always calling fastrand vs using something - // like malloc.go:nextSample() if rate > 0 && int64(fastrand())%rate == 0 { saveblockevent(cycles, rate, skip+1, mutexProfile) } |
