Home
last modified time | relevance | path

Searched refs:tv_end (Results 1 – 3 of 3) sorted by relevance

/libevent-2.1.12/test/
H A Dregress_rpc.c740 struct timeval tv_start, tv_end; in rpc_test() local
801 evutil_gettimeofday(&tv_end, NULL); in rpc_test()
802 evutil_timersub(&tv_end, &tv_start, &tv_end); in rpc_test()
804 (float)tv_end.tv_sec/(float)i * 1000000.0 + in rpc_test()
805 tv_end.tv_usec / (float)i)); in rpc_test()
H A Dregress_http.c3109 struct timeval tv_start, tv_end; in http_incomplete_test_() local
3136 evutil_gettimeofday(&tv_end, NULL); in http_incomplete_test_()
3137 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_incomplete_test_()
3325 struct timeval tv_start, tv_end; in http_chunk_out_test_impl() local
3358 evutil_gettimeofday(&tv_end, NULL); in http_chunk_out_test_impl()
3359 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_chunk_out_test_impl()
3361 tt_int_op(tv_end.tv_sec, <, 1); in http_chunk_out_test_impl()
3758 evutil_gettimeofday(&tv_end, NULL); in http_connection_retry_test_basic()
3759 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_connection_retry_test_basic()
3760 tt_int_op(tv_end.tv_sec, <, 1); in http_connection_retry_test_basic()
[all …]
H A Dregress.c1032 struct timeval tv_start, tv_end; in del_wait_thread() local
1036 evutil_gettimeofday(&tv_end, NULL); in del_wait_thread()
1038 test_timeval_diff_eq(&tv_start, &tv_end, 300); in del_wait_thread()
1076 struct timeval tv_start, tv_end; in test_del_wait() local
1079 evutil_gettimeofday(&tv_end, NULL); in test_del_wait()
1080 test_timeval_diff_eq(&tv_start, &tv_end, 270); in test_del_wait()
2036 struct timeval tv, tv_start, tv_end; in test_loopexit() local
2052 evutil_gettimeofday(&tv_end, NULL); in test_loopexit()
2059 test_timeval_diff_eq(&tv_start, &tv_end, 300); in test_loopexit()
2069 struct timeval tv, tv_start, tv_end; in test_loopexit_multiple() local
[all …]