Home
last modified time | relevance | path

Searched refs:ProfileEvent (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer_test.cc28 std::vector<const ProfileEvent*> GetProfileEvents(const ProfileBuffer& buffer) { in GetProfileEvents()
29 std::vector<const ProfileEvent*> events; in GetProfileEvents()
45 "hello", ProfileEvent::EventType::DEFAULT, /* event_metadata */ 42); in TEST()
53 EXPECT_EQ(event->event_type, ProfileEvent::EventType::DEFAULT); in TEST()
67 ProfileEvent::EventType::DEFAULT, i); in TEST()
75 EXPECT_EQ(ProfileEvent::EventType::DEFAULT, event->event_type); in TEST()
84 "hello", ProfileEvent::EventType::DEFAULT, /* event_metadata */ 42); in TEST()
88 event_handle = buffer.BeginEvent("hello", ProfileEvent::EventType::DEFAULT, in TEST()
Dprofiler.h85 std::vector<const ProfileEvent*> GetProfileEvents() { in GetProfileEvents()
86 std::vector<const ProfileEvent*> profile_events; in GetProfileEvents()
112 buffer_->BeginEvent(tag, ProfileEvent::EventType::DEFAULT, 0); in ScopedProfile()
136 tag, ProfileEvent::EventType::OPERATOR_INVOKE_EVENT, node_index); in ScopedOperatorProfile()
172 std::vector<const ProfileEvent*> GetProfileEvents() { return {}; } in GetProfileEvents()
Dprofile_summarizer.cc105 const std::vector<const ProfileEvent*>& profile_stats, in ProcessProfiles()
107 std::vector<const ProfileEvent*> events; in ProcessProfiles()
109 std::back_inserter(events), [](const ProfileEvent* e) { in ProcessProfiles()
111 ProfileEvent::EventType::OPERATOR_INVOKE_EVENT && in ProcessProfiles()
116 [](const ProfileEvent* const& a, const ProfileEvent* const& b) { in ProcessProfiles()
Dprofile_buffer.h28 struct ProfileEvent { struct
75 uint32_t BeginEvent(const char* tag, ProfileEvent::EventType event_type, in BeginEvent()
131 const struct ProfileEvent* const At(size_t index) const { in At()
146 std::vector<ProfileEvent> event_buffer_;
Dprofile_summarizer.h35 void ProcessProfiles(const std::vector<const ProfileEvent*>& profile_stats,
Dprofiler_test.cc30 double GetDurationOfEventMs(const ProfileEvent* event) { in GetDurationOfEventMs()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc74 void PrintProfilingInfo(const profiling::ProfileEvent* e, uint32_t op_index, in PrintProfilingInfo()