Macro re_tracing::profile_function

source ·
macro_rules! profile_function {
    ($($arg: tt)*) => { ... };
}
Expand description

Create a profile scope based on the function name.

Call this at the very top of an expensive function.