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

Function NowMicros

tensorflow/lite/profiling/time.cc:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#if defined(_MSC_VER)
30
31uint64_t NowMicros() {
32 return static_cast<uint64_t>(
33 std::chrono::duration_cast<std::chrono::microseconds>(
34 std::chrono::system_clock::now().time_since_epoch())
35 .count());
36}
37
38void SleepForMicros(uint64_t micros) {
39 std::this_thread::sleep_for(std::chrono::microseconds(micros));

Callers 8

TESTFunction · 0.70
BeginEventMethod · 0.70
EndEventMethod · 0.70
TESTFunction · 0.50
RunMethod · 0.50
RunMethod · 0.50
RunMethod · 0.50

Calls 1

countMethod · 0.45

Tested by 2

TESTFunction · 0.56
TESTFunction · 0.40