Skip to main content

init_runtime

Function init_runtime 

Source
pub fn init_runtime(
    trace_reads: Option<&str>,
    trace_log_path: Option<&str>,
    perf_path: Option<&str>,
) -> Result<()>
Expand description

Initializes the optional trace/perf outputs for the current process.

This should be called once near startup. Later calls are ignored so tests and library users do not need to coordinate teardown.