Home
last modified time | relevance | path

Searched refs:events_ (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Dcondition_variable_event_win.cc96 events_[WAKEALL_0] = CreateEvent(NULL, // no security attributes in ConditionVariableEventWin()
101 events_[WAKEALL_1] = CreateEvent(NULL, // no security attributes in ConditionVariableEventWin()
106 events_[WAKE] = CreateEvent(NULL, // no security attributes in ConditionVariableEventWin()
113 CloseHandle(events_[WAKE]); in ~ConditionVariableEventWin()
114 CloseHandle(events_[WAKEALL_1]); in ~ConditionVariableEventWin()
115 CloseHandle(events_[WAKEALL_0]); in ~ConditionVariableEventWin()
140 events[0] = events_[WAKE]; in SleepCS()
141 events[1] = events_[eventID]; in SleepCS()
161 ResetEvent(events_[eventID]); in SleepCS()
175 SetEvent(events_[WAKE]); in Wake()
[all …]
Dcondition_variable_event_win.h41 HANDLE events_[EVENT_COUNT]; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_command_queue.cc166 events_.reserve(128); in ProfilingCommandQueue()
171 events_(std::move(queue.events_)), in ProfilingCommandQueue()
177 events_ = std::move(queue.events_); in operator =()
188 void ProfilingCommandQueue::ResetMeasurements() { events_.clear(); } in ResetMeasurements()
193 events_.push_back(CLEvent()); in DispatchImplicit()
195 kernel, grid, work_group_size, &events_[events_.size() - 1])); in DispatchImplicit()
196 events_.back().SetName(current_label_); in DispatchImplicit()
202 result.dispatches.resize(events_.size()); in GetProfilingInfo()
203 for (int i = 0; i < events_.size(); ++i) { in GetProfilingInfo()
204 result.dispatches[i].label = events_[i].GetName(); in GetProfilingInfo()
[all …]
Dcl_command_queue.h138 std::vector<CLEvent> events_;
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelTrace.java24 events_ = java.util.Collections.emptyList(); in ChannelTrace()
78 events_ = new java.util.ArrayList<io.grpc.channelz.v1.ChannelTraceEvent>(); in ChannelTrace()
81 events_.add( in ChannelTrace()
94 events_ = java.util.Collections.unmodifiableList(events_); in ChannelTrace()
162 private java.util.List<io.grpc.channelz.v1.ChannelTraceEvent> events_; field in ChannelTrace
171 return events_; in getEventsList()
182 return events_; in getEventsOrBuilderList()
192 return events_.size(); in getEventsCount()
202 return events_.get(index); in getEvents()
213 return events_.get(index); in getEventsOrBuilder()
[all …]
/external/webrtc/webrtc/base/
Dprofiler.cc101 EventMap::iterator it = events_.find(event_name); in StartEvent()
102 bool needs_insert = (it == events_.end()); in StartEvent()
108 it = events_.insert( in StartEvent()
119 EventMap::iterator it = events_.find(event_name); in StopEvent()
120 if (it != events_.end()) { in StopEvent()
142 for (EventMap::const_iterator it = events_.begin(); in ReportToLog()
143 it != events_.end(); ++it) { in ReportToLog()
161 events_.find(event_name); in GetEvent()
162 return (it == events_.end()) ? NULL : &it->second; in GetEvent()
169 EventMap::iterator it = events_.begin(); in Clear()
[all …]
Dtestutils.h63 events_.erase(stream); in Monitor()
68 events_.erase(stream); in Unmonitor()
83 events_.erase(socket); in Monitor()
90 events_.erase(socket); in Unmonitor()
122 EventMap::iterator it = events_.find(obj); in AddEvents()
123 if (events_.end() == it) { in AddEvents()
124 events_.insert(EventMap::value_type(obj, events)); in AddEvents()
130 EventMap::iterator it = events_.find(obj); in DoCheck()
131 if ((events_.end() == it) || (0 == (it->second & event))) { in DoCheck()
140 EventMap::iterator it = events_.find(obj); in DoEvents()
[all …]
Dprofiler.h134 EventMap events_; variable
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsync_handle_registry.cc69 auto it = events_.find(event); in RegisterEvent()
70 if (it == events_.end()) { in RegisterEvent()
71 auto result = events_.emplace(event, EventCallbackList{}); in RegisterEvent()
85 auto it = events_.find(event); in UnregisterEvent()
86 if (it == events_.end()) in UnregisterEvent()
108 events_.erase(it); in UnregisterEvent()
149 const auto iter = events_.find(ready_event); in Wait()
150 DCHECK(iter != events_.end()); in Wait()
185 for (auto it = events_.begin(); it != events_.end();) { in RemoveInvalidEventCallbacks()
192 events_.erase(it++); in RemoveInvalidEventCallbacks()
/external/perfetto/src/trace_processor/
Dtrace_sorter.cc38 PERFETTO_DCHECK(sort_start_idx_ < events_.size()); in Sort()
47 auto sort_end = events_.begin() + static_cast<ssize_t>(sort_start_idx_); in Sort()
48 PERFETTO_DCHECK(std::is_sorted(events_.begin(), sort_end)); in Sort()
49 auto sort_begin = std::lower_bound(events_.begin(), sort_end, sort_min_ts_, in Sort()
51 std::sort(sort_begin, events_.end()); in Sort()
56 PERFETTO_DCHECK(std::is_sorted(events_.begin(), events_.end())); in Sort()
98 if (queue.events_.empty()) in SortAndExtractEventsBeyondWindow()
118 auto& events = queue.events_; in SortAndExtractEventsBeyondWindow()
171 queue.min_ts_ = queue.events_.front().timestamp; in SortAndExtractEventsBeyondWindow()
Dtrace_sorter.h187 events_.emplace_back(std::move(ttp)); in Append()
200 PERFETTO_DCHECK(events_.size() >= 2); in Append()
201 sort_start_idx_ = events_.size() - 1; in Append()
214 base::CircularQueue<TimestampedTracePiece> events_; member
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer.cc70 TraceMeRecorder::Events events_; member in tensorflow::profiler::__anoneef0a5df0111::HostTracer
94 events_ = TraceMeRecorder::Stop(); in Stop()
103 MakeCompleteEvents(&events_); in CollectData()
108 for (auto& thread : events_) { in CollectData()
135 events_.clear(); in CollectData()
144 MakeCompleteEvents(&events_); in CollectData()
147 ConvertCompleteEventsToXPlane(start_timestamp_ns_, events_, plane); in CollectData()
148 events_.clear(); in CollectData()
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc48 if (events_.empty()) in HandlePrepare()
50 TimeDelta delta = events_[0].time - Time::NowFromSystemTime(); in HandlePrepare()
55 if (events_.empty()) in HandleCheck()
57 return events_[0].time <= Time::NowFromSystemTime(); in HandleCheck()
61 if (events_.empty()) in HandleDispatch()
63 Event event = std::move(events_[0]); in HandleDispatch()
64 events_.erase(events_.begin()); in HandleDispatch()
88 events_.clear(); in Reset()
106 if (!events_.empty()) in AddEventHelper()
107 last_time = (events_.end()-1)->time; in AddEventHelper()
[all …]
/external/tensorflow/tensorflow/core/profiler/utils/
Devent_span.cc257 void StepDetails::AddEvent(const EventTypeSpan& e) { events_.push_back(e); } in AddEvent()
264 events_.insert(events_.end(), other_events.begin(), other_events.end()); in AppendEvents()
286 for (int i = 0; i < events_.size(); i++) { in DebugString()
288 absl::StrAppend(&result, PrintEventTypeSpan(events_[i])); in DebugString()
300 if (events_.size() != other_events.size()) return false; in operator ==()
301 for (uint64 i = 0; i < events_.size(); i++) { in operator ==()
302 if (events_[i] != other_events[i]) return false; in operator ==()
Devent_span.h103 std::vector<EventTypeSpan> events_; variable
107 const std::vector<EventTypeSpan>& Events() const { return events_; } in Events()
111 std::vector<EventTypeSpan>* MutableEvents() { return &events_; } in MutableEvents()
/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table.cc469 events_(BuildEventsDeque(events)), in ProtoTranslationTable()
470 largest_id_(events_.size() - 1), in ProtoTranslationTable()
476 &events_.at(event.ftrace_event_id); in ProtoTranslationTable()
477 name_to_events_[event.name].push_back(&events_.at(event.ftrace_event_id)); in ProtoTranslationTable()
478 group_to_events_[event.group].push_back(&events_.at(event.ftrace_event_id)); in ProtoTranslationTable()
498 events_.resize(ftrace_event.id + 1); in GetOrCreateEvent()
503 Event* e = &events_.at(ftrace_event.id); in GetOrCreateEvent()
519 group_and_name_to_event_[group_and_name] = &events_.at(e->ftrace_event_id); in GetOrCreateEvent()
520 name_to_events_[e->name].push_back(&events_.at(e->ftrace_event_id)); in GetOrCreateEvent()
521 group_to_events_[e->group].push_back(&events_.at(e->ftrace_event_id)); in GetOrCreateEvent()
Dproto_translation_table.h125 const Event* evt = &events_[id]; in GetEventById()
137 const std::deque<Event>& events() { return events_; } in events()
178 std::deque<Event> events_; variable
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Dgrpc_tpu_driver.cc299 absl::flat_hash_map<EventId, EventInfo> events_
477 for (auto e : events_) { in ~GrpcTpuStream()
512 events_[operation_id] = event_info; in InitializeRequest()
516 auto it = events_.find(id); in UpdateEventStatus()
521 if (it == events_.end()) { in UpdateEventStatus()
548 events_.erase(it); in UpdateEventStatus()
554 auto it = events_.find(id); in DeleteEvent()
555 CHECK(it != events_.end()); in DeleteEvent()
560 events_.erase(it); in DeleteEvent()
567 auto it = events_.find(id); in WaitForEvent()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline.cc80 events_.push_back(event); in EmitFlowStart()
87 events_.push_back(event); in EmitFlowEnd()
98 events_.push_back(event); in EmitCounter()
124 events_.push_back(event2); in EmitCounter()
133 for (const Json::Value& v : events_) { in Format()
Dtfprof_timeline.h59 std::vector<Json::Value> events_;
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc1423 events_(events), in RestrictedDispatchDeadlockServer()
1427 events_[3]->Signal(); in OnDoServerTask()
1428 events_[2]->Wait(); in OnDoServerTask()
1429 events_[0]->Signal(); in OnDoServerTask()
1465 WaitableEvent** events_; member in IPC::__anonbe68d06e0111::RestrictedDispatchDeadlockServer
1478 events_(events), in RestrictedDispatchDeadlockClient2()
1488 events_[3]->Wait(); in OnDoClient2Task()
1489 events_[1]->Signal(); in OnDoClient2Task()
1490 events_[2]->Signal(); in OnDoClient2Task()
1523 WaitableEvent** events_; member in IPC::__anonbe68d06e0111::RestrictedDispatchDeadlockClient2
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dsync_handle_registry.h73 EventMap events_; variable
/external/mesa3d/include/CL/
Dcl2.hpp9773 vector<Event> events_;
9812 events_.push_back(e);
9821 events_.push_back(e);
9830 events_.push_back(e);
9838 events_(events)
9848 events_(events)
9858 events_(events)
9896 events_.push_back(e);
9905 events_.push_back(e);
9914 events_.push_back(e);
[all …]
Dcl.hpp7225 VECTOR_CLASS<Event> events_; member
7260 events_.push_back(e); in EnqueueArgs()
7269 events_.push_back(e); in EnqueueArgs()
7278 events_.push_back(e); in EnqueueArgs()
7286 events_(events) in EnqueueArgs()
7296 events_(events) in EnqueueArgs()
7306 events_(events) in EnqueueArgs()
7344 events_.push_back(e); in EnqueueArgs()
7353 events_.push_back(e); in EnqueueArgs()
7362 events_.push_back(e); in EnqueueArgs()
[all …]