Searched refs:w_q (Results 1 - 2 of 2) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h319 int w_q ; /* queue weight (scaled) */ member in struct:dn_flow_set
327 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */
330 int lookup_weight ; /* equal to (1-w_q)^t / (1-w_q)^(t+1) */
H A Dip_dummynet.c1011 * with an exponential weighted (w_q) moving average:
1012 * avg <- (1-w_q) * avg + w_q * q_size
1016 * avg = (1 - w_q)^(idle/s)
1034 * queue is not empty, avg <- avg + (q_size - avg) * w_q
1037 int64_t v = SCALE_MUL((int64_t) diff, (int64_t) fs->w_q);
1044 * (1 - * w_q)^(idle_time/s) where s is the time to send a
1541 x->w_q = p->w_q;
1572 /* fill the lookup table with (1 - w_q)
[all...]

Completed in 33 milliseconds