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

Method GetAvgNsCpu

utils/src/timing.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int64_t Timer::GetAvgNsCpu()
43{
44 if (total_cnt_ == 0) return 0;
45 return total_cpu_ns_ / total_cnt_;
46}
47
48void Accumulator::Start()
49{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected