MCPcopy Create free account
hub / github.com/CPChain/chain / WriteMutexProfile

Method WriteMutexProfile

internal/debug/api.go:163–165  ·  view source on GitHub ↗

WriteMutexProfile writes a goroutine blocking profile to the given file.

(file string)

Source from the content-addressed store, hash-verified

161
162// WriteMutexProfile writes a goroutine blocking profile to the given file.
163func (*HandlerT) WriteMutexProfile(file string) error {
164 return writeProfile("mutex", file)
165}
166
167// WriteMemProfile writes an allocation profile to the given file.
168// Note that the profiling rate cannot be set through the API,

Callers

nothing calls this directly

Calls 1

writeProfileFunction · 0.85

Tested by

no test coverage detected