Home
last modified time | relevance | path

Searched refs:evutil_gettimeofday (Results 1 – 21 of 21) sorted by relevance

/external/libevent/test/
Dbench_httpclient.c91 evutil_gettimeofday(&now, NULL); in errorcb()
163 evutil_gettimeofday(&ri->started, NULL); in launch_request()
201 evutil_gettimeofday(&start, NULL); in main()
205 evutil_gettimeofday(&end, NULL); in main()
Dregress_thread.c282 evutil_gettimeofday(&rec->alerted_at, NULL); in wait_for_condition()
325 evutil_gettimeofday(&launched_at, NULL); in thread_conditions_simple()
438 evutil_gettimeofday(&timer_end, NULL); in timer_callback()
472 evutil_gettimeofday(&timer_start, NULL); in thread_deferred_cb_skew()
504 evutil_gettimeofday(arg, NULL); in note_time_cb()
543 evutil_gettimeofday(&starttime, NULL); in thread_no_events()
546 evutil_gettimeofday(&endtime, NULL); in thread_no_events()
Dbench_cascade.c103 evutil_gettimeofday(&ts, NULL); in run_once()
124 evutil_gettimeofday(&te, NULL); in run_once()
Dtest-changelist.c78 evutil_gettimeofday(&timer->timeBegin, NULL); in start_cpu_usage_timer()
128 evutil_gettimeofday(&timeEnd, NULL); in get_cpu_usage()
Dbench.c125 evutil_gettimeofday(&ts, NULL); in run_once()
130 evutil_gettimeofday(&te, NULL); in run_once()
Dregress.c234 evutil_gettimeofday(&tcalled, NULL); in timeout_cb()
626 evutil_gettimeofday(&tset, NULL); in test_simpletimeout()
709 evutil_gettimeofday(&c->tvs[c->n], NULL); in persist_active_timeout_cb()
741 evutil_gettimeofday(&start, NULL); in test_persistent_active_timeout()
769 evutil_gettimeofday(&ti->called_at, NULL); in common_timeout_cb()
838 evutil_gettimeofday(&start, NULL); in test_common_timeout()
1034 evutil_gettimeofday(&tv_start, NULL); in del_wait_thread()
1036 evutil_gettimeofday(&tv_end, NULL); in del_wait_thread()
1077 evutil_gettimeofday(&tv_start, NULL); in test_del_wait()
1079 evutil_gettimeofday(&tv_end, NULL); in test_del_wait()
[all …]
Dtest-ratelim.c271 evutil_gettimeofday(&end, NULL); in timer_bias_cb()
302 evutil_gettimeofday(&timer_bias_start, NULL); in timer_bias_calculate()
675 evutil_gettimeofday(&tv, NULL); in main()
Dregress_bufferevent.c949 evutil_gettimeofday(&res->last_read_at, NULL); in bev_timeout_read_cb()
955 evutil_gettimeofday(&res->last_wrote_at, NULL); in bev_timeout_write_cb()
965 evutil_gettimeofday(&res->read_timeout_at, NULL); in bev_timeout_event_cb()
970 evutil_gettimeofday(&res->write_timeout_at, NULL); in bev_timeout_event_cb()
1021 evutil_gettimeofday(&started_at, NULL); in test_bufferevent_timeouts()
Dtest-dumpevents.c148 evutil_gettimeofday(&now,NULL); in main()
Dregress_rpc.c763 evutil_gettimeofday(&tv_start, NULL); in rpc_test()
801 evutil_gettimeofday(&tv_end, NULL); in rpc_test()
Dregress_http.c3132 evutil_gettimeofday(&tv_start, NULL); in http_incomplete_test_()
3136 evutil_gettimeofday(&tv_end, NULL); in http_incomplete_test_()
3351 evutil_gettimeofday(&tv_start, NULL); in http_chunk_out_test_impl()
3358 evutil_gettimeofday(&tv_end, NULL); in http_chunk_out_test_impl()
3756 evutil_gettimeofday(&tv_start, NULL); in http_connection_retry_test_basic()
3758 evutil_gettimeofday(&tv_end, NULL); in http_connection_retry_test_basic()
3791 evutil_gettimeofday(&tv_start, NULL); in http_connection_retry_test_basic()
3793 evutil_gettimeofday(&tv_end, NULL); in http_connection_retry_test_basic()
3828 evutil_gettimeofday(&tv_start, NULL); in http_connection_retry_test_basic()
3830 evutil_gettimeofday(&tv_end, NULL); in http_connection_retry_test_basic()
Dregress_util.c1364 evutil_gettimeofday(&tv1, NULL); in test_evutil_usleep()
1366 evutil_gettimeofday(&tv2, NULL); in test_evutil_usleep()
1368 evutil_gettimeofday(&tv3, NULL); in test_evutil_usleep()
/external/libevent/sample/
Dtime-test.c49 evutil_gettimeofday(&newtime, NULL); in timeout_cb()
101 evutil_gettimeofday(&lasttime, NULL); in main()
/external/libevent/
Devutil_time.c72 evutil_gettimeofday(struct timeval *tv, struct timezone *tz) in evutil_gettimeofday() function
354 if (evutil_gettimeofday(tp, NULL) < 0) in evutil_gettime_monotonic_()
409 if (evutil_gettimeofday(tp, NULL) < 0) in evutil_gettime_monotonic_()
615 if (evutil_gettimeofday(tp, NULL) < 0) in evutil_gettime_monotonic_()
Devthread_pthread.c146 evutil_gettimeofday(&now, NULL); in evthread_posix_cond_wait()
Devent.c429 evutil_gettimeofday(&tv,NULL); in gettime()
444 return evutil_gettimeofday(tv, NULL); in event_base_gettimeofday_cached()
449 r = evutil_gettimeofday(tv, NULL); in event_base_gettimeofday_cached()
DChangeLog-1.4130 o Merge windows gettimeofday() replacement into a new evutil_gettimeofday() function.
Devutil.c2476 evutil_gettimeofday(&tv, NULL); in evutil_weakrand_seed_()
DChangeLog-2.0291 o Use evutil_gettimeofday instead of relying on the system gettimeofday. (0de87fe Peter Rosin)
1228 o Move windows gettimeofday replacement into a new evutil_gettimeofday().
DChangeLog44 o evutil_time: improve evutil_gettimeofday on Windows (a8219143 Nick Grifka)
1720 o Use evutil_gettimeofday instead of relying on the system gettimeofday. (0de87fe Peter Rosin)
/external/libevent/include/event2/
Dutil.h586 #define evutil_gettimeofday(tv, tz) gettimeofday((tv), (tz)) macro
590 int evutil_gettimeofday(struct timeval *tv, struct timezone *tz);