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

Method duration

src/gopt/test/reformat_manager.cpp:293–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293double ReformatProfiler::duration() const {
294 mgb_assert(m_end);
295 m_end->host_wait();
296 return m_start->elapsed_time_until(*m_end) - m_start->elapsed_time_until(*m_start);
297}
298
299MGB_DEFINE_OPR_CLASS(
300 ReformatProfiler::MarkInputContiguous, cg::SingleCNOperatorNodeBase) // {

Callers 1

TESTFunction · 0.80

Calls 2

host_waitMethod · 0.80
elapsed_time_untilMethod · 0.80

Tested by

no test coverage detected