Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
38
private:
39
bool m_started, m_stopped;
Callers
7
TEST_F
Function · 0.45
do_exec
Method · 0.45
TEST
Function · 0.45
exec
Method · 0.45
exect
Method · 0.45
search
Method · 0.45
exec
Method · 0.45
Calls
1
count
Method · 0.45
Tested by
no test coverage detected