Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ get_secs
Method
get_secs
src/core/include/megbrain/utils/timer.h:33–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
void reset() { m_start = get_time(); }
32
33
double get_secs() const { return m_start.time_until_secs(get_time()); }
34
35
//! get milliseconds (one thousandth of a second)
36
double get_msecs() { return get_secs() * 1e3; }
Callers
13
GraphProfiler
Method · 0.45
TEST_P
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
prof_impl
Method · 0.45
Calls
1
time_until_secs
Method · 0.80
Tested by
10
TEST_P
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36