Macro profile_span
Source macro_rules! profile_span {
($name:expr) => { ... };
}
Expand description
Opens a profiling span scoped to the enclosing block.
Compiles to nothing when the tracing feature is disabled.
§Example
ⓘuse voxel_framework::profile_span;
fn generate() {
profile_span!("voxel::mesh::greedy");
}