MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / ~ReformatProfiler

Method ~ReformatProfiler

src/gopt/test/reformat_manager.cpp:286–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286ReformatProfiler::~ReformatProfiler() noexcept {
287 if (m_start)
288 m_start->host_wait();
289 if (m_end)
290 m_end->host_wait();
291}
292
293double ReformatProfiler::duration() const {
294 mgb_assert(m_end);

Callers

nothing calls this directly

Calls 1

host_waitMethod · 0.80

Tested by

no test coverage detected