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

Method get_time_in_us

dnn/test/common/timer.h:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)
35 .count();
36 }
37
38private:
39 bool m_started, m_stopped;

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 1

countMethod · 0.45

Tested by

no test coverage detected