MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / do_elapsed_time_until

Method do_elapsed_time_until

src/core/impl/comp_node/cpu/comp_node.cpp:1072–1076  ·  view source on GitHub ↗

======================== EventImpl ======================== */

Source from the content-addressed store, hash-verified

1070
1071/* ======================== EventImpl ======================== */
1072double CpuCompNode::CpuDispatchableBase::EventImpl::do_elapsed_time_until(
1073 EventImplHelper& end) {
1074 auto&& f1 = static_cast<EventImpl&>(end).m_prev_finish_time;
1075 return m_prev_finish_time.time_until_secs(f1);
1076}
1077
1078#if MGB_HAVE_THREAD
1079void CpuCompNode::CpuDispatchableBase::EventImpl::do_device_wait_by(Impl* cn_impl) {

Callers

nothing calls this directly

Calls 1

time_until_secsMethod · 0.80

Tested by

no test coverage detected