vor 0.2.1

Cross-platform performance instrumentation with an in-app egui panel and live system and GPU metrics.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Open a profiling scope for the rest of the enclosing block.
///
/// Cheap when no sink is installed; the same scope feeds the in-app
/// flame chart and any `tracing` subscriber.
#[macro_export]
macro_rules! profile_scope {
    ($name:literal) => {
        $crate::__priv_puffin::profile_scope!($name);
        let _vor_span = $crate::__priv_tracing::trace_span!($name).entered();
        let _vor_nvtx = $crate::__nvtx_range($name);
    };
}