cranelift_codegen::timing

Function take_current

Source
pub fn take_current() -> PassTimes
Expand description

Take the current accumulated pass timings and reset the timings for the current thread.

Only applies when DefaultProfiler is used.