Function embedded_profiling::start_snapshot[][src]

pub fn start_snapshot() -> EPInstant
Expand description

takes the starting snapshot of a specific trace

let start = embedded_profiling::start_snapshot();
// (...)
let snapshot = embedded_profiling::end_snapshot(start, "doc-example");