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

Method now

src/core/impl/utils/timer.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16class timer_impl::RealTimeTrait {
17public:
18 static TimeSpec now() {
19 TimeSpec ret;
20 mgb_extern_api_get_time(&ret.sec, &ret.nsec);
21 return ret;
22 }
23};
24
25#elif defined(WIN32)

Callers

nothing calls this directly

Calls 2

clockClass · 0.85
orwl_gettimeFunction · 0.85

Tested by

no test coverage detected