Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/ntp/sntp/libevent/test/
Dregress_rpc.c741 struct timeval tv_start, tv_end; in rpc_test() local
802 evutil_gettimeofday(&tv_end, NULL); in rpc_test()
803 evutil_timersub(&tv_end, &tv_start, &tv_end); in rpc_test()
805 (float)tv_end.tv_sec/(float)i * 1000000.0 + in rpc_test()
806 tv_end.tv_usec / (float)i)); in rpc_test()
Dregress_http.c2786 struct timeval tv_start, tv_end; in http_incomplete_test_() local
2814 evutil_gettimeofday(&tv_end, NULL); in http_incomplete_test_()
2815 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_incomplete_test_()
2825 if (use_timeout && tv_end.tv_sec >= 3) { in http_incomplete_test_()
2827 } else if (!use_timeout && tv_end.tv_sec >= 1) { in http_incomplete_test_()
3004 struct timeval tv_start, tv_end; in http_chunk_out_test() local
3036 evutil_gettimeofday(&tv_end, NULL); in http_chunk_out_test()
3037 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_chunk_out_test()
3039 tt_int_op(tv_end.tv_sec, <, 1); in http_chunk_out_test()
3339 struct timeval tv, tv_start, tv_end; in http_connection_retry_test() local
[all …]
Dregress.c1850 struct timeval tv, tv_start, tv_end; in test_loopexit() local
1866 evutil_gettimeofday(&tv_end, NULL); in test_loopexit()
1873 test_timeval_diff_eq(&tv_start, &tv_end, 300); in test_loopexit()
1883 struct timeval tv, tv_start, tv_end; in test_loopexit_multiple() local
1900 evutil_gettimeofday(&tv_end, NULL); in test_loopexit_multiple()
1907 test_timeval_diff_eq(&tv_start, &tv_end, 200); in test_loopexit_multiple()
/freebsd-9-stable/sys/contrib/altq/altq/
Daltq_subr.c981 struct timeval tv_start, tv_end; in init_machclk() local
989 microtime(&tv_end); in init_machclk()
991 diff = (u_int64_t)(tv_end.tv_sec - tv_start.tv_sec) * 1000000 in init_machclk()
992 + tv_end.tv_usec - tv_start.tv_usec; in init_machclk()