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

Method stop

dnn/test/common/timer.h:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 m_start_point = clock::now();
25 }
26 void stop() {
27 megdnn_assert(m_started);
28 megdnn_assert(!m_stopped);
29 m_stopped = true;
30 m_stop_point = clock::now();
31 }
32 size_t get_time_in_us() const {
33 return std::chrono::duration_cast<std::chrono::microseconds>(
34 m_stop_point - m_start_point)

Callers 7

TEST_FFunction · 0.45
do_execMethod · 0.45
TESTFunction · 0.45
execMethod · 0.45
exectMethod · 0.45
searchMethod · 0.45
execMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected