Home
last modified time | relevance | path

Searched refs:event_count (Results 1 – 25 of 33) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/events/
Dtest_event_dependencies.cpp51 int i, loop_count, event_count, expected_value, failed; in test_event_enqueue_wait_for_events_run_test() local
210 event_count = 0; in test_event_enqueue_wait_for_events_run_test()
213 …ffer(queues[0], data, CL_FALSE, 0, TEST_SIZE*sizeof(cl_int), values, 0, NULL, &event[event_count]); in test_event_enqueue_wait_for_events_run_test()
221 error = clEnqueueBarrierWithWaitList(queues[queue_to_use], 1, &event[event_count], NULL ); in test_event_enqueue_wait_for_events_run_test()
230 event_count++; in test_event_enqueue_wait_for_events_run_test()
232 …hreads, NULL, 1, &event[%d], &event[%d])\n", queue_to_use, loop_count, event_count-1, event_count); in test_event_enqueue_wait_for_events_run_test()
233 …_use], kernel1[loop_count], 1, NULL, threads, NULL, 1, &event[event_count-1], &event[event_count]); in test_event_enqueue_wait_for_events_run_test()
235 …rnel1[%d], 1, NULL, threads, NULL, 0, NULL, &event[%d])\n", queue_to_use, loop_count, event_count); in test_event_enqueue_wait_for_events_run_test()
236 …l(queues[queue_to_use], kernel1[loop_count], 1, NULL, threads, NULL, 0, NULL, &event[event_count]); in test_event_enqueue_wait_for_events_run_test()
248 event_count++; in test_event_enqueue_wait_for_events_run_test()
[all …]
Dtest_events.cpp601 cl_uint event_count=2; in test_event_enqueue_marker_with_event_list() local
612 error =clEnqueueMarkerWithWaitList(queue, event_count, event_list, &event_list[2]); in test_event_enqueue_marker_with_event_list()
626 error =clEnqueueMarkerWithWaitList(queue, event_count, event_list, NULL); in test_event_enqueue_marker_with_event_list()
646 cl_uint event_count=2; in test_event_enqueue_barrier_with_event_list() local
657 error =clEnqueueBarrierWithWaitList(queue, event_count, event_list, &event_list[2]); in test_event_enqueue_barrier_with_event_list()
670 error = clEnqueueBarrierWithWaitList(queue, event_count, event_list, NULL); in test_event_enqueue_barrier_with_event_list()
/external/webrtc/webrtc/base/
Dprofiler_unittest.cc39 EXPECT_EQ(1, event->event_count()); in TEST()
45 EXPECT_EQ(2, event->event_count()); in TEST()
48 EXPECT_DOUBLE_EQ(event->mean(), event->total_time() / event->event_count()); in TEST()
64 EXPECT_EQ(0, event1->event_count()); in TEST()
70 EXPECT_EQ(1, event1->event_count()); in TEST()
82 EXPECT_EQ(1, event2->event_count()); in TEST()
88 EXPECT_EQ(1, event1->event_count()); in TEST()
96 EXPECT_EQ(2, event1->event_count()); in TEST()
100 event1->total_time() / event1->event_count()); in TEST()
Dhttpbase_unittest.cc88 void VerifyHeaderComplete(size_t event_count, bool empty_doc);
140 void HttpBaseTest::VerifyHeaderComplete(size_t event_count, bool empty_doc) { in VerifyHeaderComplete() argument
143 ASSERT_EQ(event_count, events.size()); in VerifyHeaderComplete()
Dprofiler.h100 int event_count() const { return event_count_; } in event_count() function
Dprofiler.cc183 stream << "count=" << profiler_event.event_count() in operator <<()
/external/wpa_supplicant_8/src/utils/
Deloop_win.c52 size_t event_count; member
101 if (eloop.num_handles > eloop.reader_count + eloop.event_count + 8) in eloop_prepare_handles()
196 tmp = os_realloc_array(eloop.events, eloop.event_count + 1, in eloop_register_event()
201 tmp[eloop.event_count].eloop_data = eloop_data; in eloop_register_event()
202 tmp[eloop.event_count].user_data = user_data; in eloop_register_event()
203 tmp[eloop.event_count].handler = handler; in eloop_register_event()
204 tmp[eloop.event_count].event = h; in eloop_register_event()
205 eloop.event_count++; in eloop_register_event()
217 if (eloop.events == NULL || eloop.event_count == 0 || in eloop_unregister_event()
221 for (i = 0; i < eloop.event_count; i++) { in eloop_unregister_event()
[all …]
/external/libevent/
Dpoll.c61 int event_count; /* Highest number alloc */ member
145 pop->event_count * sizeof(struct pollfd)); in poll_dispatch()
229 if (pop->nfds + 1 >= pop->event_count) { in poll_add()
233 if (pop->event_count < 32) in poll_add()
236 tmp_event_count = pop->event_count * 2; in poll_add()
247 pop->event_count = tmp_event_count; in poll_add()
Devent-internal.h230 int event_count; member
/external/libchrome/base/process/
Dprocess_metrics.cc15 int CalculateEventsPerSecond(uint64_t event_count, in CalculateEventsPerSecond() argument
23 *last_event_count = event_count; in CalculateEventsPerSecond()
27 int64_t events_delta = event_count - *last_event_count; in CalculateEventsPerSecond()
35 *last_event_count = event_count; in CalculateEventsPerSecond()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dpacket_loss_stats.cc53 int event_count, unused1, unused2; in GetMultipleLossEventCount() local
54 ComputeLossCounts(&unused1, &event_count, &unused2); in GetMultipleLossEventCount()
55 return event_count; in GetMultipleLossEventCount()
/external/ImageMagick/MagickCore/
Dopencl.c466 for (i=0; i < (ssize_t) info->event_count; i++) in DestroyMagickCLCacheInfo()
1105 openCL_library->clWaitForEvents(cache_info->opencl->event_count, in RunOpenCLBenchmark()
1434 MagickCLCacheInfo second,cl_uint *event_count) in CopyOpenCLEvents() argument
1446 assert(event_count != (cl_uint *) NULL); in CopyOpenCLEvents()
1451 *event_count=first->event_count; in CopyOpenCLEvents()
1453 *event_count+=second->event_count; in CopyOpenCLEvents()
1454 if (*event_count > 0) in CopyOpenCLEvents()
1456 events=AcquireQuantumMemory(*event_count,sizeof(*events)); in CopyOpenCLEvents()
1458 *event_count=0; in CopyOpenCLEvents()
1462 for (i=0; i < first->event_count; i++, j++) in CopyOpenCLEvents()
[all …]
Dopencl-private.h44 event_count;
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify03.c67 int event_count; member
275 while (test_num < tc->event_count + 1 && fd_notify != -1) { in test_fanotify()
336 for (; test_num < tc->event_count; test_num++) { in test_fanotify()
Dfanotify12.c48 int event_count; member
217 while (FAN_EVENT_OK(event, len) && event_num < tc->event_count) { in do_test()
/external/perfetto/src/base/
Dtask_runner_unittest.cc230 int event_count = 0; in TEST_F() local
232 [&task_runner, &pipe, &event_count] { in TEST_F()
233 if (++event_count == 3) { in TEST_F()
/external/wayland/src/
Dwayland-client.c59 int event_count; member
382 for (i = 0; i < interface->event_count; i++) { in prepare_zombie()
391 (interface->event_count * sizeof(int))); in prepare_zombie()
395 zombie->event_count = interface->event_count; in prepare_zombie()
Dwayland-util.h226 int event_count; member
/external/grpc-grpc/src/core/lib/iomgr/
Dev_epollex_linux.cc121 int event_count; member
592 (*p)->event_count = 0;
924 (pollable_obj->event_count - pollable_obj->event_cursor) / worker_count;
932 pollable_obj->event_cursor != pollable_obj->event_count;
1013 p->event_count = r;
1187 WORKER_PTR->pollable_obj->event_count) {
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc342 int event_count() const { return event_count_; } in event_count() function in base::__anonbafb75ad0211::ConcurrentHelper
383 EXPECT_EQ(0, helper->event_count()); in TEST_F()
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc1230 int event_count = 0; in TEST_F() local
1255 event_count++; in TEST_F()
1258 EXPECT_EQ(4, event_count); in TEST_F()
1287 int event_count = 0; in TEST_F() local
1291 event_count++; in TEST_F()
1307 EXPECT_EQ(event_count, 3); in TEST_F()
1329 int event_count = 0; in TEST_F() local
1333 event_count++; in TEST_F()
1348 EXPECT_EQ(event_count, 2); in TEST_F()
/external/u-boot/include/
Dfsl_immap.h177 u32 event_count; /* Event Count */ member
/external/bcc/tools/
Dtrace.py28 event_count = 0 variable in Probe
572 Probe.event_count += 1
574 Probe.event_count >= Probe.max_events:
/external/autotest/client/common_lib/
Dpexpect.py229 event_count = 0
248 event_count = event_count + 1
/external/webrtc/webrtc/call/
Drtc_event_log_unittest.cc517 const int event_count = config_count + playout_count + bwe_loss_count + in LogSessionAndReadBack() local
519 EXPECT_EQ(event_count, parsed_stream.stream_size()); in LogSessionAndReadBack()

12