Home
last modified time | relevance | path

Searched refs:event_index (Results 1 – 14 of 14) sorted by relevance

/external/pthreadpool/src/
Dwindows.c23 static void checkin_worker_thread(struct pthreadpool* threadpool, uint32_t event_index) { in checkin_worker_thread() argument
25 SetEvent(threadpool->completion_event[event_index]); in checkin_worker_thread()
29 static void wait_worker_threads(struct pthreadpool* threadpool, uint32_t event_index) { in wait_worker_threads() argument
47 const DWORD wait_status = WaitForSingleObject(threadpool->completion_event[event_index], INFINITE); in wait_worker_threads()
75 const uint32_t event_index = (last_command >> 31); in wait_for_new_command() local
76 const DWORD wait_status = WaitForSingleObject(threadpool->command_event[event_index], INFINITE); in wait_for_new_command()
126 const uint32_t event_index = command >> 31; in thread_main() local
127 checkin_worker_thread(threadpool, event_index); in thread_main()
255 const uint32_t event_index = (old_command >> 31); in pthreadpool_parallelize() local
256 BOOL reset_event_status = ResetEvent(threadpool->command_event[event_index ^ 1]); in pthreadpool_parallelize()
[all …]
/external/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer.h115 int event_index = event_handle % max_size; variable
116 event_buffer_[event_index].end_timestamp_us = time::NowMicros();
117 if (event_buffer_[event_index].event_type !=
119 event_buffer_[event_index].end_mem_usage = memory::GetMemoryUsage();
122 event_buffer_[event_index].event_metadata = *event_metadata1;
125 event_buffer_[event_index].extra_event_metadata = *event_metadata2;
/external/ltp/testcases/kernel/syscalls/epoll/
Depoll-ltp.c406 unsigned int event_index; /* index into event list for the events field of the in test_epoll_ctl() local
462 for (event_index = 0; in test_epoll_ctl()
463 event_index < (sizeof(epoll_events) / sizeof(int)); in test_epoll_ctl()
464 event_index++) { in test_epoll_ctl()
481 [event_index]; in test_epoll_ctl()
/external/libchrome/base/trace_event/
Dtrace_buffer.cc88 return chunk->GetEventAt(handle.event_index); in GetEventByHandle()
205 return chunk->GetEventAt(handle.event_index); in GetEventByHandle()
259 TraceEvent* TraceBufferChunk::AddTraceEvent(size_t* event_index) { in AddTraceEvent() argument
261 *event_index = next_free_++; in AddTraceEvent()
262 return &chunk_[*event_index]; in AddTraceEvent()
Dtrace_log.cc150 size_t event_index, in MakeHandle() argument
154 DCHECK(event_index < TraceBufferChunk::kTraceBufferChunkSize); in MakeHandle()
158 handle->event_index = static_cast<uint16_t>(event_index); in MakeHandle()
214 return chunk_->GetEventAt(handle.event_index); in GetEventByHandle()
290 size_t event_index; in AddTraceEvent() local
291 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent()
293 MakeHandle(chunk_->seq(), chunk_index_, event_index, handle); in AddTraceEvent()
807 size_t event_index; in AddEventToThreadSharedChunkWhileLocked() local
808 TraceEvent* trace_event = thread_shared_chunk_->AddTraceEvent(&event_index); in AddEventToThreadSharedChunkWhileLocked()
811 event_index, handle); in AddEventToThreadSharedChunkWhileLocked()
[all …]
Dtrace_buffer.h26 TraceEvent* AddTraceEvent(size_t* event_index);
Dtrace_event_impl.h72 unsigned event_index : 6; member
/external/autotest/client/cros/power/
Dpower_dashboard.py272 event_index = 0
278 while checkpoint_event_list[event_index][1] <= curr_time:
279 name, _, is_start = checkpoint_event_list[event_index]
284 event_index += 1
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_socket.py417 for idx, (event, event_index, data) in enumerate(self.events):
418 if event_index == index and event in events:
422 (event, event_index, data) = self.recv_event()
423 if event_index == index and event in events:
/external/crosvm/devices/src/irqchip/kvm/
Dx86_64.rs424 fn service_irq_event(&mut self, event_index: IrqEventIndex) -> Result<()> { in service_irq_event()
425 if let Some(evt) = &self.irq_events.lock()[event_index] { in service_irq_event()
449 self.delayed_ioapic_irq_events.lock().push(event_index); in service_irq_event()
611 .retain(|&event_index| { in process_delayed_irq_events()
612 if let Some(evt) = &self.irq_events.lock()[event_index] { in process_delayed_irq_events()
/external/crosvm/devices/src/irqchip/
Dmod.rs92 fn service_irq_event(&mut self, event_index: IrqEventIndex) -> Result<()>; in service_irq_event()
/external/libchrome/base/test/
Dtrace_event_analyzer.cc809 for (size_t event_index = 0; event_index < raw_events_.size(); in AssociateEvents() local
810 ++event_index) { in AssociateEvents()
812 TraceEvent& this_event = raw_events_[event_index]; in AssociateEvents()
/external/mesa3d/src/amd/compiler/
Daco_insert_waitcnt.cpp912 unsigned event_index = u_bit_scan(&event_mask); in calculate_score() local
914 for (unsigned dist : ctx.wait_distances[event_index]) { in calculate_score()
920 switch (1 << event_index) { in calculate_score()
/external/crosvm/src/
Dlinux.rs3103 if let Some(event_index) = irq_chip in run_control()
3109 index: event_index in run_control()