Lines Matching refs:curr_time
112 static dn_key curr_time = 0 ; /* current simulation time */
156 SYSCTL_INT(_net_inet_ip_dummynet, OID_AUTO, curr_time,
157 CTLFLAG_RD, &curr_time, 0, "Current tick");
465 if ( !DN_KEY_LEQ(pkt->output_time, curr_time) )
559 dt->output_time = curr_time + p->delay ;
599 q->numbytes += ( curr_time - q->sched_time ) * p->bandwidth;
617 q->sched_time = curr_time ;
618 heap_insert(&ready_heap, curr_time + t, (void *)q );
623 q->q_time = curr_time;
652 p->numbytes += ( curr_time - p->sched_time ) * p->bandwidth;
744 p->sched_time = curr_time ;
745 heap_insert(&wfq_ready_heap, curr_time + t, (void *)p);
784 curr_time = (tv.tv_sec * 1000) + (tv.tv_usec / 1000);
788 while (h->elements > 0 && DN_KEY_LEQ(h->p[0].key, curr_time) ) {
789 if (h->p[0].key > curr_time)
791 i, (int)(curr_time - h->p[0].key));
1029 DPRINTF(("\ndummynet: %d q: %2u ", (int) curr_time, q_size));
1049 u_int t = (curr_time - q->q_time) / fs->lookup_step;
1186 curr_time = (tv.tv_sec * 1000) + (tv.tv_usec / 1000);
1283 q->sched_time = curr_time ;
1287 heap_insert(&ready_heap, curr_time + t , q );
1335 pipe->sched_time = curr_time ;