Searched refs:profile_events (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/lite/profiling/ |
D | profiler_test.cc | 54 auto profile_events = profiler.GetProfileEvents(); in TEST() local 55 EXPECT_EQ(0, profile_events.size()); in TEST() 63 auto profile_events = profiler.GetProfileEvents(); in TEST() local 75 ASSERT_EQ(5, profile_events.size()); in TEST() 76 EXPECT_EQ("Parent", profile_events[0]->tag); in TEST() 77 EXPECT_EQ("Child", profile_events[1]->tag); in TEST() 78 EXPECT_EQ("SleepForQuarter", profile_events[2]->tag); in TEST() 79 EXPECT_EQ("Child", profile_events[3]->tag); in TEST() 80 EXPECT_EQ("SleepForQuarter", profile_events[4]->tag); in TEST() 86 auto parent_ms = GetDurationOfEventMs(profile_events[0]); in TEST() [all …]
|
D | profiler.h | 86 std::vector<const ProfileEvent*> profile_events; in GetProfileEvents() local 87 profile_events.reserve(buffer_.Size()); in GetProfileEvents() 89 profile_events.push_back(buffer_.At(i)); in GetProfileEvents() 91 return profile_events; in GetProfileEvents()
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | label_image.cc | 207 auto profile_events = profiler->GetProfileEvents(); in RunInference() local 208 for (int i = 0; i < profile_events.size(); i++) { in RunInference() 209 auto op_index = profile_events[i]->event_metadata; in RunInference() 213 PrintProfilingInfo(profile_events[i], op_index, registration); in RunInference()
|
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | benchmark_tflite_model.cc | 64 auto profile_events = profiler_.GetProfileEvents(); in OnSingleRunEnd() local 65 has_profiles_ = !profile_events.empty(); in OnSingleRunEnd() 66 summarizer_.ProcessProfiles(profile_events, *interpreter_); in OnSingleRunEnd()
|