pub fn set_enabled(enabled: bool)Expand description
Enable or disable the calling thread’s standalone profiling runtime.
Prefer crate::Session::start for operator runs because it also captures
identity, resources, and state transitions. This switch remains available
to libraries and microbenchmarks that only need stage counters.