MCPcopy Create free account
hub / github.com/XpuOS/xsched / Stop

Method Stop

utils/src/timing.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void Accumulator::Stop()
56{
57 if (!started_) return;
58 accumulated_ns_ += duration_cast<nanoseconds>(system_clock::now() - begin_).count();
59 started_ = false;
60}
61
62void Accumulator::Reset()
63{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected