Searched refs:time_index (Results 1 – 2 of 2) sorted by relevance
2235 int time_index = 0; in send_dg_rr() local2261 time_index = 0; in send_dg_rr()2262 while (time_index < MAX_KEPT_TIMES) { in send_dg_rr()2263 kept_times[time_index] = 0; in send_dg_rr()2264 time_index += 1; in send_dg_rr()2266 time_index = 0; in send_dg_rr()2502 kept_times[time_index] = (recv_time.tv_sec - send_time.tv_sec) * 1000000; in send_dg_rr()2503 kept_times[time_index] += (recv_time.tv_usec - send_time.tv_usec); in send_dg_rr()2511 sleep_usecs = interval_usecs - kept_times[time_index]; in send_dg_rr()2525 time_index = (time_index +1)%MAX_KEPT_TIMES; in send_dg_rr()[all …]
2420 int time_index = 0; in send_dlpi_cl_rr() local2444 time_index = 0; in send_dlpi_cl_rr()2445 while (time_index < MAX_KEPT_TIMES) { in send_dlpi_cl_rr()2446 kept_times[time_index] = 0; in send_dlpi_cl_rr()2447 time_index += 1; in send_dlpi_cl_rr()2449 time_index = 0; in send_dlpi_cl_rr()2772 kept_times[time_index] = (recv_time.tv_sec - send_time.tv_sec) * 1000000; in send_dlpi_cl_rr()2773 kept_times[time_index] += (recv_time.tv_usec - send_time.tv_usec); in send_dlpi_cl_rr()2781 sleep_usecs = interval_usecs - kept_times[time_index]; in send_dlpi_cl_rr()2795 time_index = (time_index +1)%MAX_KEPT_TIMES; in send_dlpi_cl_rr()[all …]