Searched refs:event_buffer_ (Results 1 – 2 of 2) sorted by relevance
73 event_buffer_(max_num_entries), in enabled_()91 event_buffer_[index].tag = tag; in BeginEvent()92 event_buffer_[index].event_type = event_type; in BeginEvent()93 event_buffer_[index].event_metadata = event_metadata1; in BeginEvent()94 event_buffer_[index].extra_event_metadata = event_metadata2; in BeginEvent()95 event_buffer_[index].begin_timestamp_us = timestamp; in BeginEvent()96 event_buffer_[index].elapsed_time = 0; in BeginEvent()98 event_buffer_[index].begin_mem_usage = memory::GetMemoryUsage(); in BeginEvent()116 const uint32_t max_size = event_buffer_.size();124 event_buffer_[event_index].elapsed_time =[all …]
61 event_buffer_.emplace_back(); in BeginEvent()62 event_handle = event_buffer_.size(); in BeginEvent()77 event_buffer_.emplace_back(); in BeginEvent()78 event_handle = event_buffer_.size(); in BeginEvent()91 EXPECT_EQ(event_handle, event_buffer_.size()); in EndEvent()94 int NumRecordedEvents() { return event_buffer_.size(); } in NumRecordedEvents()97 std::vector<profiling::ProfileEvent> event_buffer_; member in tflite::delegates::__anon59dca1220111::DelegateProfiler