/freebsd/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 289 struct timeval tv_start, tv_end, tv_now, tv; in watchdog_check_dogfunction_time() local 297 TIMESPEC_TO_TIMEVAL(&tv_start, tp_start); in watchdog_check_dogfunction_time() 299 timersub(&tv_end, &tv_start, &tv); in watchdog_check_dogfunction_time() 329 timersub(&tv_now, &tv_start, &tv); in watchdog_check_dogfunction_time()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_rpc.c | 740 struct timeval tv_start, tv_end; in rpc_test() local 763 evutil_gettimeofday(&tv_start, NULL); in rpc_test() 802 evutil_timersub(&tv_end, &tv_start, &tv_end); in rpc_test()
|
H A D | regress.c | 1032 struct timeval tv_start, tv_end; in del_wait_thread() local 1034 evutil_gettimeofday(&tv_start, 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 1077 evutil_gettimeofday(&tv_start, 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 2050 evutil_gettimeofday(&tv_start, 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 …]
|
H A D | regress_http.c | 3109 struct timeval tv_start, tv_end; in http_incomplete_test_() local 3132 evutil_gettimeofday(&tv_start, 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 3351 evutil_gettimeofday(&tv_start, NULL); in http_chunk_out_test_impl() 3359 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_chunk_out_test_impl() 3719 struct timeval tv, tv_start, tv_end; in http_connection_retry_test_basic() local 3756 evutil_gettimeofday(&tv_start, NULL); in http_connection_retry_test_basic() 3759 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_connection_retry_test_basic() 3791 evutil_gettimeofday(&tv_start, NULL); in http_connection_retry_test_basic() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | regress_rpc.c | 740 struct timeval tv_start, tv_end; in rpc_test() local 763 evutil_gettimeofday(&tv_start, NULL); in rpc_test() 802 evutil_timersub(&tv_end, &tv_start, &tv_end); in rpc_test()
|
H A D | regress.c | 1032 struct timeval tv_start, tv_end; in del_wait_thread() local 1034 evutil_gettimeofday(&tv_start, 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 1077 evutil_gettimeofday(&tv_start, 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 2050 evutil_gettimeofday(&tv_start, 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 …]
|
H A D | regress_http.c | 3109 struct timeval tv_start, tv_end; in http_incomplete_test_() local 3132 evutil_gettimeofday(&tv_start, 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 3351 evutil_gettimeofday(&tv_start, NULL); in http_chunk_out_test_impl() 3359 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_chunk_out_test_impl() 3719 struct timeval tv, tv_start, tv_end; in http_connection_retry_test_basic() local 3756 evutil_gettimeofday(&tv_start, NULL); in http_connection_retry_test_basic() 3759 evutil_timersub(&tv_end, &tv_start, &tv_end); in http_connection_retry_test_basic() 3791 evutil_gettimeofday(&tv_start, NULL); in http_connection_retry_test_basic() [all …]
|
/freebsd/sys/net/altq/ |
H A D | altq_subr.c | 942 struct timeval tv_start, tv_end; in init_machclk() local 946 microtime(&tv_start); in init_machclk() 952 diff = (u_int64_t)(tv_end.tv_sec - tv_start.tv_sec) * 1000000 in init_machclk() 953 + tv_end.tv_usec - tv_start.tv_usec; in init_machclk()
|
/freebsd/crypto/openssh/ |
H A D | sk-usbhid.c | 511 struct timeval tv_start, tv_now, tv_delta; in sk_select_by_touch() local 537 monotime_tv(&tv_start); in sk_select_by_touch() 549 timersub(&tv_now, &tv_start, &tv_delta); in sk_select_by_touch()
|