WriteMemProfile writes an allocation profile to the given file. Note that the profiling rate cannot be set through the API, it must be set on the command line.
(file string)
| 168 | // Note that the profiling rate cannot be set through the API, |
| 169 | // it must be set on the command line. |
| 170 | func (*HandlerT) WriteMemProfile(file string) error { |
| 171 | return writeProfile("heap", file) |
| 172 | } |
| 173 | |
| 174 | // Stacks returns a printed representation of the stacks of all goroutines. |
| 175 | func (*HandlerT) Stacks() string { |
nothing calls this directly
no test coverage detected