Skip to main content

take_current

Function take_current 

Source
pub fn take_current() -> PassTimes
Available on crate feature timing only.
Expand description

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

Only applies when DefaultProfiler is used.

ยงPanics

Panics when any pass timing token is currently active.