Macro re_tracing::profile_function_if
source · macro_rules! profile_function_if { ($($arg: tt)*) => { ... }; }
Expand description
Create a profile scope based on the function name, if the given condition holds true.
Call this at the very top of a potentially expensive function.