Function embedded_profiling::start_snapshot [−][src]
pub fn start_snapshot() -> EPInstantExpand description
takes the starting snapshot of a specific trace
let start = embedded_profiling::start_snapshot();
// (...)
let snapshot = embedded_profiling::end_snapshot(start, "doc-example");