(rate int)
| 384 | |
| 385 | func (defaultProfileCollector) SetBlockProfileRate(rate int) { runtime.SetBlockProfileRate(rate) } |
| 386 | func (defaultProfileCollector) SetMutexProfileFraction(rate int) int { |
| 387 | return runtime.SetMutexProfileFraction(rate) |
| 388 | } |
| 389 | |
| 390 | // defaultProfiles is the set of profiles collected when none are specified. |
| 391 | var defaultProfiles = []string{"cpu", "heap", "allocs", "block", "mutex", "goroutine"} |
nothing calls this directly
no test coverage detected