start_snapshot

Function start_snapshot 

Source
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");