SetMutexProfileFraction sets the rate of mutex profiling.
(rate int)
| 156 | |
| 157 | // SetMutexProfileFraction sets the rate of mutex profiling. |
| 158 | func (*HandlerT) SetMutexProfileFraction(rate int) { |
| 159 | runtime.SetMutexProfileFraction(rate) |
| 160 | } |
| 161 | |
| 162 | // WriteMutexProfile writes a goroutine blocking profile to the given file. |
| 163 | func (*HandlerT) WriteMutexProfile(file string) error { |