MemoryProfiler constructs a new instance of MemoryProfiler using the given time function to record the profile execution time.
(options ...MemoryProfilerOption)
| 104 | // MemoryProfiler constructs a new instance of MemoryProfiler using the given |
| 105 | // time function to record the profile execution time. |
| 106 | func (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. |