WriteBlockProfile writes a goroutine blocking profile to the given file.
(file string)
| 141 | |
| 142 | // WriteBlockProfile writes a goroutine blocking profile to the given file. |
| 143 | func (*HandlerT) WriteBlockProfile(file string) error { |
| 144 | return writeProfile("block", file) |
| 145 | } |
| 146 | |
| 147 | // MutexProfile turns on mutex profiling for nsec seconds and writes profile data to file. |
| 148 | // It uses a profile rate of 1 for most accurate information. If a different rate is |
nothing calls this directly
no test coverage detected