Lines Matching defs:t_now
267 * t_now - timeval struct containing actual time
271 tfrc_set_send_timer(struct tfrc_send_ccb * cb, struct timeval t_now)
276 /* set send timer to fire in t_ipi - (t_now-t_nom_old) or in other
277 * words after t_nom - t_now */
279 timersub(&t_temp, &t_now, &t_temp);
301 * If (t_now - tld >= R)
303 * tld = t_now;
305 * t_now - timeval struct containing actual time
309 tfrc_updateX(struct tfrc_send_ccb * cb, struct timeval t_now)
333 t_temp = t_now;
349 cb->t_ld = t_now;
368 struct timeval t_now;
447 microtime(&t_now);
448 tfrc_updateX(cb, t_now);
605 struct timeval t_now, t_temp;
640 t_now = cb->t_nom;
646 cb->t_last_win_count = t_now;
655 tfrc_set_send_timer(cb, t_now); /* if so schedule sendtimer */
662 microtime(&t_now);
664 t_temp = t_now;
674 t_temp = t_now;
721 struct timeval t_now, t_temp;
734 microtime(&t_now);
744 packet->t_sent = t_now;
748 cb->t_last_win_count = t_now;
785 microtime(&t_now);
786 t_temp = t_now;
796 microtime(&t_now);
797 t_temp = t_now;
800 tfrc_set_send_timer(cb, t_now);
802 microtime(&t_now);
803 t_temp = t_now;
808 tfrc_set_send_timer(cb, t_now); /* if so schedule sendtimer */
827 struct timeval t_now;
895 /* Calculate new round trip sample by R_sample = (t_now -
912 microtime(&t_now);
913 timersub(&t_now, &(elm->t_sent), &t_now);
914 r_sample = t_now.tv_sec * 1000000 + t_now.tv_usec;
959 microtime(&t_now);
960 tfrc_updateX(cb, t_now);
1173 struct timeval t_now, t_temp;
1214 microtime(&t_now);
1215 timersub(&t_now, &elm->t_recv, &t_now);
1216 t_elapsed = (u_int32_t) (t_now.tv_sec * 100000 + t_now.tv_usec / 10);