Searched refs:avg (Results 1 - 4 of 4) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dsched_average.c115 sched_average_t avg; local
192 for (avg = sched_average; avg->comp != NULL; ++avg) {
193 if (++avg->tick >= avg->period) {
194 (*avg->comp)(avg->param);
195 avg->tick = 0;
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_synch.c417 struct loadavg *avg = &averunnable; local
421 avg->ldavg[i] = (cexp[i] * avg->ldavg[i] +
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h255 int avg ; /* average queue length est. (scaled) */ member in struct:dn_flow_queue
H A Dip_dummynet.c1010 * RED calculates the average queue size (avg) using a low-pass filter
1012 * avg <- (1-w_q) * avg + w_q * q_size
1016 * avg = (1 - w_q)^(idle/s)
1019 * Now, if avg < min_th the packet is enqueued.
1020 * If avg > max_th the packet is dropped. Otherwise, the packet is
1021 * dropped with probability P function of avg.
1034 * queue is not empty, avg <- avg + (q_size - avg) * w_
[all...]

Completed in 36 milliseconds