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

Function DurationFromMilliseconds

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

Source from the content-addressed store, hash-verified

41
42template <typename RepresentationType>
43Duration DurationFromMilliseconds(RepresentationType representation) {
44 return std::chrono::duration_cast<Duration>(
45 std::chrono::duration<RepresentationType, std::milli>(representation));
46}
47
48template <typename RepresentationType>
49Duration DurationFromNanoseconds(RepresentationType representation) {

Callers 2

WaitUntilFunction · 0.85
TuningResolverMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected