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

Function TEST

tensorflow/lite/profiling/time_test.cc:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace time {
23
24TEST(TimeTest, NowMicros) {
25 auto now0 = NowMicros();
26 EXPECT_GT(now0, 0);
27 auto now1 = NowMicros();
28 EXPECT_GE(now1, now0);
29}
30
31TEST(TimeTest, SleepForMicros) {
32 // A zero sleep shouldn't cause issues.

Callers

nothing calls this directly

Calls 2

SleepForMicrosFunction · 0.85
NowMicrosFunction · 0.70

Tested by

no test coverage detected