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

Class clock

imperative/src/include/megbrain/imperative/cpp_cupti.h:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace mgb::imperative::cupti {
10
11struct clock {
12 typedef std::chrono::nanoseconds duration;
13 typedef duration::rep rep;
14 typedef duration::period period;
15 typedef std::chrono::time_point<clock> time_point;
16 static const bool is_steady = false;
17
18 static time_point now() /* noexcept */;
19};
20
21using time_point = clock::time_point;
22

Callers 3

nowMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68