MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / span

Method span

debugger/src/debugger/timer.rs:30–35  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

28 }
29
30 pub(super) fn span(&mut self) -> TimerGuard<'_> {
31 TimerGuard {
32 timer: self,
33 start: Instant::now(),
34 }
35 }
36
37 pub(super) fn time<T, F: FnOnce() -> T>(&mut self, f: F) -> T {
38 let now = Instant::now();

Callers 5

runFunction · 0.80
parse_body_endFunction · 0.80
parse_body_loc_startFunction · 0.80
parse_body_loc_endFunction · 0.80
parse_bodyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected