pub fn start(profile_name: impl Into<String>)
Expand description
Start profiling. If the profiler is already running, this function cancels the current profiling session and starts a new one.
See the module-level documentation for information on how to enable profiling.