Function ark_api::profiler::is_active

source ·
pub fn is_active() -> bool
Expand description

Is the module-side profiler on?

Call puffin::set_scopes_on(ark::profiler::is_active()); at the top of each frame to heed this.