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

Function StopTiming

tensorflow/core/platform/default/test_benchmark.cc:291–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 if (start_time == 0) start_time = env->NowMicros();
290}
291void StopTiming() {
292 if (start_time != 0) {
293 accum_time += (env->NowMicros() - start_time);
294 start_time = 0;
295 }
296}
297void UseRealTime() {}
298
299} // namespace testing

Callers 15

BM_CalibrateWorkLoopFunction · 0.85
BM_TrivialFactoryFunction · 0.85
BM_ArgumentFactoryFunction · 0.85
BM_StatusOrFactoryFunction · 0.85
BM_ArgumentFactoryFailFunction · 0.85
BM_StatusOrFactoryFailFunction · 0.85
BM_NAMEFunction · 0.85
BM_ConstructFunction · 0.85

Calls 1

NowMicrosMethod · 0.45

Tested by

no test coverage detected