MCPcopy Create free account
hub / github.com/dispatchrun/wzprof / MemoryProfiler

Method MemoryProfiler

wzprof.go:106–108  ·  view source on GitHub ↗

MemoryProfiler constructs a new instance of MemoryProfiler using the given time function to record the profile execution time.

(options ...MemoryProfilerOption)

Source from the content-addressed store, hash-verified

104// MemoryProfiler constructs a new instance of MemoryProfiler using the given
105// time function to record the profile execution time.
106func (p *Profiling) MemoryProfiler(options ...MemoryProfilerOption) *MemoryProfiler {
107 return newMemoryProfiler(p, options...)
108}
109
110// Prepare selects the most appropriate analysis functions for the guest
111// code in the provided module.

Callers 2

BenchmarkMemoryProfilerFunction · 0.80
runMethod · 0.80

Calls 1

newMemoryProfilerFunction · 0.85

Tested by 1

BenchmarkMemoryProfilerFunction · 0.64