Skip to main content

set_perf_trace_enabled

Function set_perf_trace_enabled 

Source
pub fn set_perf_trace_enabled(enabled: bool)
Expand description

Enable or disable low-level phase timing traces for this process.

This is the explicit replacement for the old ambient environment hook used by GPU/perf benches and dispatch diagnostics.