[][src]Function optick::stop_capture

pub fn stop_capture(path: &str)

Stop and save current capture to the specified path

Example:

pub fn main() {
    optick::start_capture();
	calc(42);
    optick::stop_capture("capture_name"); // => {working_dir}/capture_name(2020-07-24.02-33-19).opt
}