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

Function ParentFunction

tensorflow/lite/profiling/profiler_test.cc:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void ParentFunction(tflite::Profiler* profiler) {
45 ScopedProfile profile(profiler, "Parent");
46 for (int i = 0; i < 2; i++) {
47 ChildFunction(profiler);
48 }
49}
50
51TEST(ProfilerTest, NoProfilesAreCollectedWhenDisabled) {
52 BufferedProfiler profiler(1024);

Callers 1

TESTFunction · 0.85

Calls 1

ChildFunctionFunction · 0.85

Tested by

no test coverage detected