Function cranelift_codegen::timing::set_thread_profiler
source · pub fn set_thread_profiler(new_profiler: Box<dyn Profiler>) -> Box<dyn Profiler>
Expand description
Set the profiler for the current thread.
Returns the old profiler.