Home
last modified time | relevance | path

Searched refs:event_handle (Results 1 – 25 of 34) sorted by relevance

12

/external/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer_test.cc45 auto event_handle = in TEST() local
49 EXPECT_GE(event_handle, 0); in TEST()
58 buffer.EndEvent(event_handle); in TEST()
66 auto event_handle = in TEST() local
71 buffer.EndEvent(event_handle, &kEventMetadata1, &kEventMetadata2); in TEST()
73 EXPECT_GE(event_handle, 0); in TEST()
107 auto event_handle = in TEST() local
110 EXPECT_EQ(kInvalidEventHandle, event_handle); in TEST()
113 event_handle = in TEST()
116 EXPECT_GE(event_handle, 0); in TEST()
Dbuffered_profiler.h91 void EndEvent(uint32_t event_handle) override { in EndEvent() argument
92 buffer_.EndEvent(event_handle); in EndEvent()
95 void EndEvent(uint32_t event_handle, int64_t event_metadata1, in EndEvent() argument
97 buffer_.EndEvent(event_handle, &event_metadata1, &event_metadata2); in EndEvent()
Dprofile_buffer.h102 void EndEvent(uint32_t event_handle, const int64_t* event_metadata1 = nullptr,
104 if (!enabled_ || event_handle == kInvalidEventHandle ||
105 event_handle > current_index_) {
109 if (current_index_ > (max_size + event_handle)) {
115 int event_index = event_handle % max_size;
Datrace_profiler.cc82 void EndEvent(uint32_t event_handle) override { in EndEvent() argument
/external/crosvm/sys_util/src/
Deventfd.rs26 event_handle: SafeDescriptor, field
50 event_handle: unsafe { SafeDescriptor::from_raw_descriptor(ret) }, in new()
137 self.event_handle in try_clone()
139 .map(|event_handle| EventFd { event_handle }) in try_clone()
145 self.event_handle.as_raw_fd() in as_raw_fd()
151 self.event_handle.as_raw_descriptor() in as_raw_descriptor()
158 event_handle: SafeDescriptor::from_raw_descriptor(fd), in from_raw_fd()
165 self.event_handle.into_raw_descriptor() in into_raw_fd()
/external/tensorflow/tensorflow/lite/delegates/
Dtelemetry_test.cc56 int event_handle = -1; in BeginEvent() local
61 event_handle = event_buffer_.size(); in BeginEvent()
77 event_handle = event_buffer_.size(); in BeginEvent()
85 EXPECT_NE(-1, event_handle); in BeginEvent()
86 return event_handle; in BeginEvent()
89 void EndEvent(uint32_t event_handle) override { in EndEvent() argument
90 EXPECT_EQ(event_handle, event_buffer_.size()); in EndEvent()
/external/tensorflow/tensorflow/lite/micro/
Dmicro_profiler.cc36 void MicroProfiler::EndEvent(uint32_t event_handle) { in EndEvent() argument
37 TFLITE_DCHECK(event_handle < kMaxEvents); in EndEvent()
38 end_ticks_[event_handle] = GetCurrentTimeTicks(); in EndEvent()
Dmicro_profiler.h46 virtual void EndEvent(uint32_t event_handle);
/external/skia/src/core/
DSkTraceEvent.h336 data_.category_group_enabled, data_.name, data_.event_handle); in ~ScopedTracer()
341 SkEventTracer::Handle event_handle) { in Initialize() argument
344 data_.event_handle = event_handle; in Initialize()
360 SkEventTracer::Handle event_handle; member
/external/skqp/src/core/
DSkTraceEvent.h336 data_.category_group_enabled, data_.name, data_.event_handle); in ~ScopedTracer()
341 SkEventTracer::Handle event_handle) { in Initialize() argument
344 data_.event_handle = event_handle; in Initialize()
357 SkEventTracer::Handle event_handle; member
/external/tensorflow/tensorflow/lite/micro/benchmarks/
Dkeyword_benchmark.cc84 uint32_t event_handle = profiler.BeginEvent("InitializeKeywordRunner"); in main() local
87 profiler.EndEvent(event_handle); in main()
Dperson_detection_benchmark.cc82 uint32_t event_handle = profiler.BeginEvent("InitializeBenchmarkRunner"); in main() local
85 profiler.EndEvent(event_handle); in main()
/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor.cc463 SP_Event event_handle = in WaitForEvent() local
466 stream_executor_->wait_for_event(&device_, stream_handle, event_handle, in WaitForEvent()
472 SP_Event event_handle = in PollForEventStatus() local
475 stream_executor_->get_event_status(&device_, event_handle); in PollForEventStatus()
543 SP_Event event_handle = in BlockHostForEvent() local
545 stream_executor_->block_host_for_event(&device_, event_handle, in BlockHostForEvent()
562 SP_Event event_handle; in BlockHostUntilDone() local
563 stream_executor_->create_event(&device_, &event_handle, c_status.get()); in BlockHostUntilDone()
565 stream_executor_->record_event(&device_, stream_handle, event_handle, in BlockHostUntilDone()
569 stream_executor_->destroy_event(&device_, event_handle); in BlockHostUntilDone()
[all …]
/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h73 virtual void EndEvent(uint32_t event_handle, int64_t event_metadata1, in EndEvent() argument
76 virtual void EndEvent(uint32_t event_handle) = 0;
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h373 void EndEvent(uint32_t event_handle) override { in EndEvent() argument
375 profiler_->EndEvent(event_handle); in EndEvent()
378 void EndEvent(uint32_t event_handle, int64_t event_metadata1, in EndEvent() argument
381 profiler_->EndEvent(event_handle, event_metadata1, event_metadata2); in EndEvent()
/external/curl/lib/
Dtelnet.c1259 WSAEVENT event_handle; in telnet_do() local
1299 event_handle = WSACreateEvent(); in telnet_do()
1300 if(event_handle == WSA_INVALID_EVENT) { in telnet_do()
1306 if(WSAEventSelect(sockfd, event_handle, FD_READ|FD_CLOSE) == SOCKET_ERROR) { in telnet_do()
1307 WSACloseEvent(event_handle); in telnet_do()
1315 objs[0] = event_handle; in telnet_do()
1410 if(WSAEnumNetworkEvents(sockfd, event_handle, &events) == SOCKET_ERROR) { in telnet_do()
1470 if(!WSACloseEvent(event_handle)) { in telnet_do()
/external/webrtc/modules/audio_device/win/
Dcore_audio_utility_win.cc1161 HANDLE event_handle, in SharedModeInitialize() argument
1188 (event_handle != nullptr && event_handle != INVALID_HANDLE_VALUE); in SharedModeInitialize()
1222 error = client->SetEventHandle(event_handle); in SharedModeInitialize()
1268 HANDLE event_handle, in SharedModeInitializeLowLatency() argument
1284 (event_handle != nullptr && event_handle != INVALID_HANDLE_VALUE); in SharedModeInitializeLowLatency()
1309 error = client->SetEventHandle(event_handle); in SharedModeInitializeLowLatency()
Dcore_audio_utility_win.h547 HANDLE event_handle,
561 HANDLE event_handle,
Dcore_audio_utility_win_unittest.cc645 ScopedHandle event_handle(::CreateEvent(nullptr, TRUE, FALSE, nullptr)); in TEST_F() local
654 client.Get(), &format, event_handle, 0, false, &endpoint_buffer_size); in TEST_F()
/external/libchrome/base/synchronization/
Dwaitable_event.h74 explicit WaitableEvent(win::ScopedHandle event_handle);
/external/libchrome/base/trace_event/
Dtrace_event.h1151 data_.category_group_enabled, data_.name, data_.event_handle); in ~ScopedTracer()
1157 base::trace_event::TraceEventHandle event_handle) { in Initialize() argument
1160 data_.event_handle = event_handle; in Initialize()
1173 base::trace_event::TraceEventHandle event_handle; member
/external/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc1158 const HANDLE event_handle = reinterpret_cast<HANDLE>(event_handle_as_size_t); in GetStatusFileDescriptor() local
1161 if (!::DuplicateHandle(parent_process_handle.Get(), event_handle, in GetStatusFileDescriptor()
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc1261 const HANDLE event_handle = reinterpret_cast<HANDLE>(event_handle_as_size_t); in GetStatusFileDescriptor() local
1264 if (!::DuplicateHandle(parent_process_handle.Get(), event_handle, in GetStatusFileDescriptor()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc1484 const HANDLE event_handle = reinterpret_cast<HANDLE>(event_handle_as_size_t); in GetStatusFileDescriptor() local
1487 if (!::DuplicateHandle(parent_process_handle.Get(), event_handle, in GetStatusFileDescriptor()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-death-test.cc1547 const HANDLE event_handle = reinterpret_cast<HANDLE>(event_handle_as_size_t); in GetStatusFileDescriptor() local
1550 if (!::DuplicateHandle(parent_process_handle.Get(), event_handle, in GetStatusFileDescriptor()

12