macro_rules! span_scope { ($static_var_name:ident, $name:expr) => { ... }; ($name:expr) => { ... }; }
Records a sync span as two thread events
use micromegas_tracing::span_scope; span_scope!("scope");