MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ToInt64Nanoseconds

Function ToInt64Nanoseconds

tensorflow/lite/experimental/ruy/time.h:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59inline std::int64_t ToInt64Nanoseconds(const Duration& duration) {
60 return std::chrono::duration_cast<
61 std::chrono::duration<std::int64_t, std::nano>>(duration)
62 .count();
63}
64
65inline TimePoint Now() { return InternalDefaultClock::now(); }
66

Callers 1

DumpFunction · 0.85

Calls 1

countMethod · 0.45

Tested by

no test coverage detected