Searched refs:SEC_TO_US (Results 1 – 3 of 3) sorted by relevance
| /iperf/src/ |
| H A D | iperf_client_api.c | 187 …est->timer = tmr_create(&now, test_timer_proc, cd, ( test->duration + test->omit ) * SEC_TO_US, 0); in create_client_timers() 194 …->stats_timer = tmr_create(&now, client_stats_timer_proc, cd, test->stats_interval * SEC_TO_US, 1); in create_client_timers() 201 …r_timer = tmr_create(&now, client_reporter_timer_proc, cd, test->reporter_interval * SEC_TO_US, 1); in create_client_timers() 249 test->omit_timer = tmr_create(&now, client_omit_timer_proc, cd, test->omit * SEC_TO_US, 0); in create_client_omit_timer() 561 …rcv_timeout_us = (test->settings->rcv_timeout.secs * SEC_TO_US) + test->settings->rcv_timeout.usec… in iperf_run_client() 578 timeout_us = (timeout->tv_sec * SEC_TO_US) + timeout->tv_usec; in iperf_run_client()
|
| H A D | iperf_server_api.c | 311 …r_create(&now, server_timer_proc, cd, (test->duration + test->omit + grace_period) * SEC_TO_US, 0); in create_server_timers() 320 …->stats_timer = tmr_create(&now, server_stats_timer_proc, cd, test->stats_interval * SEC_TO_US, 1); in create_server_timers() 327 …r_timer = tmr_create(&now, server_reporter_timer_proc, cd, test->reporter_interval * SEC_TO_US, 1); in create_server_timers() 370 test->omit_timer = tmr_create(&now, server_omit_timer_proc, cd, test->omit * SEC_TO_US, 0); in create_server_omit_timer() 480 …rcv_timeout_us = (test->settings->rcv_timeout.secs * SEC_TO_US) + test->settings->rcv_timeout.usec… in iperf_run_server() 509 timeout_us = (timeout->tv_sec * SEC_TO_US) + timeout->tv_usec; in iperf_run_server() 532 … if (test->settings->idle_timeout > 0 && t_usecs >= test->settings->idle_timeout * SEC_TO_US) { in iperf_run_server()
|
| H A D | iperf.h | 406 #define SEC_TO_US 1000000LL macro
|