pub fn finish() -> VMPerformanceProfile
Expand description
Stop the current profiling session and generate a VMPerformanceProfile
.
If the profiler is disabled or not running, an empty
VMPerformanceProfile
is returned.
See the module-level documentation for information on how to enable profiling.