MCPcopy Index your code
hub / github.com/celzero/firestack / MemProfile

Function MemProfile

intra/core/prof.go:97–130  ·  view source on GitHub ↗

MemProfile triggers GC and writes a heap profile to outprofile. rate controls the memory profiling granularity: 1 is most detailed, 0 disables profiling entirely. The previous MemProfileRate is restored after the profile completes (default is 512*1024). If the flight recorder is not already running

(rate int32, outprofile string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MemProfileFunction · 0.92

Calls 4

EEFunction · 0.92
IFunction · 0.92
CloseFileFunction · 0.85
ErrorfMethod · 0.65

Tested by

no test coverage detected