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

Method RecordBegin

utils/src/timing.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void Timer::RecordBegin()
15{
16 XASSERT(getrusage(RUSAGE_SELF, &usage_begin_) == 0, "getrusage failed");
17 begin_ = system_clock::now();
18}
19
20void Timer::RecordEnd()
21{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected