Home
last modified time | relevance | path

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

/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/libxcam/modules/ocl/
Dcl_event.cpp91 uint32_t event_count = 0; in cl_events_wait() local
102 event_ids[event_count++] = event->get_event_id (); in cl_events_wait()
103 if (event_count >= XCAM_MAX_CL_EVENT_COUNT) in cl_events_wait()
107 XCAM_ASSERT (event_count > 0); in cl_events_wait()
109 error_code = clWaitForEvents (event_count, event_ids); in cl_events_wait()
/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
Devent.c1264 r += base->event_count; in event_base_get_num_events()
1306 return (base->virtual_event_count > 0 || base->event_count > 0); in event_haveevents()
3166 ((base)->event_count -= (~((flags) >> 4) & 1))
3168 ((base)->event_count += (~((flags) >> 4) & 1)); \
3169 MAX_EVENT_COUNT((base)->event_count_max, (base)->event_count); \
DChangeLog1582 o Make event_count maintenance branchless at the expense of an
/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.c453 for (i=0; i < (ssize_t) info->event_count; i++) in DestroyMagickCLCacheInfo()
1086 openCL_library->clWaitForEvents(cache_info->opencl->event_count, in RunOpenCLBenchmark()
1407 MagickCLCacheInfo second,cl_uint *event_count) in CopyOpenCLEvents() argument
1419 assert(event_count != (cl_uint *) NULL); in CopyOpenCLEvents()
1424 *event_count=first->event_count; in CopyOpenCLEvents()
1426 *event_count+=second->event_count; in CopyOpenCLEvents()
1427 if (*event_count > 0) in CopyOpenCLEvents()
1429 events=AcquireQuantumMemory(*event_count,sizeof(*events)); in CopyOpenCLEvents()
1431 *event_count=0; in CopyOpenCLEvents()
1435 for (i=0; i < first->event_count; i++, j++) in CopyOpenCLEvents()
[all …]
Dopencl-private.h44 event_count;
/external/perfetto/src/base/
Dtask_runner_unittest.cc245 int event_count = 0; in TYPED_TEST() local
247 [&task_runner, &pipe, &event_count] { in TYPED_TEST()
248 if (++event_count == 3) { in TYPED_TEST()
/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::__anon87a0a6620211::ConcurrentHelper
383 EXPECT_EQ(0, helper->event_count()); in TEST_F()
/external/wayland/src/
Dwayland-util.h150 int 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/u-boot/include/
Dfsl_immap.h177 u32 event_count; /* Event Count */ member
/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()