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

Method reset

src/core/include/megbrain/utils/timer.h:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 Timer() { reset(); }
30
31 void reset() { m_start = get_time(); }
32
33 double get_secs() const { return m_start.time_until_secs(get_time()); }
34

Callers 5

make_proxyMethod · 0.45
proxy_to_default_cpuMethod · 0.45
proxy_to_comp_nodeMethod · 0.45
performMethod · 0.45
MemAllocPlanClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected