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

Function GetDurationOfEventMs

tensorflow/lite/profiling/profiler_test.cc:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace {
29
30double GetDurationOfEventMs(const ProfileEvent* event) {
31 return (event->end_timestamp_us - event->begin_timestamp_us) / 1e3;
32}
33
34void SleepForQuarterSecond(tflite::Profiler* profiler) {
35 ScopedProfile profile(profiler, "SleepForQuarter");

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected