Searched refs:SEC_TO_US (Results 1 – 6 of 6) sorted by relevance
/external/iperf3/src/ |
D | iperf_client_api.c | 164 …est->timer = tmr_create(&now, test_timer_proc, cd, ( test->duration + test->omit ) * SEC_TO_US, 0); in create_client_timers() 171 …->stats_timer = tmr_create(&now, client_stats_timer_proc, cd, test->stats_interval * SEC_TO_US, 1); in create_client_timers() 178 …r_timer = tmr_create(&now, client_reporter_timer_proc, cd, test->reporter_interval * SEC_TO_US, 1); in create_client_timers() 221 test->omit_timer = tmr_create(&now, client_omit_timer_proc, cd, test->omit * SEC_TO_US, 0); in create_client_omit_timer()
|
D | iperf_server_api.c | 285 …r_create(&now, server_timer_proc, cd, (test->duration + test->omit + grace_period) * SEC_TO_US, 0); in create_server_timers() 294 …->stats_timer = tmr_create(&now, server_stats_timer_proc, cd, test->stats_interval * SEC_TO_US, 1); in create_server_timers() 301 …r_timer = tmr_create(&now, server_reporter_timer_proc, cd, test->reporter_interval * SEC_TO_US, 1); in create_server_timers() 344 test->omit_timer = tmr_create(&now, server_omit_timer_proc, cd, test->omit * SEC_TO_US, 0); in create_server_omit_timer()
|
D | iperf.h | 363 #define SEC_TO_US 1000000LL macro
|
/external/python/cpython3/Python/ |
D | pytime.c | 20 #define SEC_TO_US (SEC_TO_MS * MS_TO_US) macro 234 return _PyTime_ObjectToDenominator(obj, sec, usec, SEC_TO_US, round); in _PyTime_ObjectToTimeval() 545 usec += SEC_TO_US; in _PyTime_AsTimeval_impl() 553 else if (usec >= SEC_TO_US) { in _PyTime_AsTimeval_impl() 554 usec -= SEC_TO_US; in _PyTime_AsTimeval_impl() 562 assert(0 <= usec && usec < SEC_TO_US); in _PyTime_AsTimeval_impl()
|
/external/python/cpython3/Modules/ |
D | faulthandler.c | 612 #define SEC_TO_US (1000 * 1000) macro 621 sec = (unsigned long)(us / SEC_TO_US); in format_timeout() 622 us %= SEC_TO_US; in format_timeout() 672 if (timeout_us >= PY_TIMEOUT_MAX || timeout_us / SEC_TO_US >= LONG_MAX) { in faulthandler_dump_traceback_later()
|
/external/python/cpython3/Lib/test/ |
D | test_time.py | 24 SEC_TO_US = 10 ** 6 variable 933 return divmod(us, SEC_TO_US) 1019 self.create_converter(SEC_TO_US),
|