MCPcopy Create free account
hub / github.com/celzero/firestack / MemProfile

Function MemProfile

intra/tun2socks.go:475–477  ·  view source on GitHub ↗

MemProfile triggers GC and writes a heap profile to outprofile. rate controls memory profiling granularity: 1 most detailed, 0 disables. Only one profile (cpu or mem) can run at a time.

(rate int32, outprofile string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

MemProfileFunction · 0.92

Tested by

no test coverage detected