[][src]Function xi_trace::save

pub fn save<P: AsRef<Path>>(path: P, sort: bool) -> Result<(), Error>

Save tracing data to to supplied path, using the Trace Viewer format. Trace file can be opened using the Chrome browser by visiting the URL about:tracing. If sorted_chronologically is true then sort output traces chronologically by each trace's time of creation.