[][src]Macro puffin::profile_scope

macro_rules! profile_scope {
    ($id:expr) => { ... };
}

Profile the current scope with the given name (unique in the parent scope). Names should be descriptive, ASCII and without spaces. Example: profile_scope!("load_mesh"); Overhead: around 140 ns on 2020 MacBook Pro