Skip to main content

set_enabled

Function set_enabled 

Source
pub fn set_enabled(enabled: bool)
Expand description

Enable or disable fixed-stage profiling.

Prefer 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.