[][src]Function persil::init_with_path

pub fn init_with_path(path: impl AsRef<Path>)

Initializes the global profiler and will store the results at the given path.

The results will be stored as <path>.events, <path>.strings, etc.

Panics

Panics if the profiler is already initialized.