Lines Matching refs:time_index
2238 int time_index = 0; in send_dg_rr() local
2264 time_index = 0; in send_dg_rr()
2265 while (time_index < MAX_KEPT_TIMES) { in send_dg_rr()
2266 kept_times[time_index] = 0; in send_dg_rr()
2267 time_index += 1; in send_dg_rr()
2269 time_index = 0; in send_dg_rr()
2506 kept_times[time_index] = (recv_time.tv_sec - send_time.tv_sec) * 1000000; in send_dg_rr()
2507 kept_times[time_index] += (recv_time.tv_usec - send_time.tv_usec); in send_dg_rr()
2514 sleep_usecs = interval_usecs - kept_times[time_index]; in send_dg_rr()
2528 time_index = (time_index +1)%MAX_KEPT_TIMES; in send_dg_rr()
2718 time_index = 0; in send_dg_rr()
2719 while (time_index < MAX_KEPT_TIMES) { in send_dg_rr()
2720 if (kept_times[time_index] > 0) { in send_dg_rr()
2721 total_times += kept_times[time_index]; in send_dg_rr()
2725 time_index += 1; in send_dg_rr()