MCPcopy Index your code
hub / github.com/RustCV/RustCV / start

Method start

rustcv/src/core/tick_meter.rs:28–32  ·  view source on GitHub ↗

开始计时 (Start)

(&mut self)

Source from the content-addressed store, hash-verified

26
27 /// 开始计时 (Start)
28 pub fn start(&mut self) {
29 if self.start_time.is_none() {
30 self.start_time = Some(Instant::now());
31 }
32 }
33
34 /// 停止计时 (Stop)
35 /// 停止后,时间会累积到 total_time 中,且计数器 +1

Callers 1

newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected