Searched refs:ewma_log (Results 1 - 18 of 18) sorted by path

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/include/linux/
H A Dgen_stats.h58 * @ewma_log: the log of measurement window weight
63 unsigned char ewma_log; member in struct:gnet_estimator
H A Dpkt_sched.h46 unsigned char ewma_log; member in struct:tc_estimator
323 unsigned char ewma_log; member in struct:tc_cbq_lssopt
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/tc/
H A Dm_estimator.c44 if (est->ewma_log)
60 fprintf(stderr, "[estimator i=%u e=%u]\n", est->interval, est->ewma_log);
H A Dq_cbq.c57 int ewma_log=-1; local
73 if (get_integer(&ewma_log, *argv, 0)) {
77 if (ewma_log > 31) {
78 fprintf(stderr, "ewma_log must be < 32\n");
147 if (ewma_log < 0)
148 ewma_log = TC_CBQ_DEF_EWMA;
149 lss.ewma_log = ewma_log;
150 lss.maxidle = tc_cbq_calc_maxidle(r.rate, r.rate, avpkt, lss.ewma_log, 0);
180 int ewma_log local
[all...]
H A Dtc_cbq.c28 int ewma_log, unsigned maxburst)
31 double g = 1.0 - 1.0/(1<<ewma_log);
41 return tc_core_usec2tick(maxidle*(1<<ewma_log)*1000000);
45 int ewma_log, unsigned minburst)
47 double g = 1.0 - 1.0/(1<<ewma_log);
27 tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, int ewma_log, unsigned maxburst) argument
44 tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, int ewma_log, unsigned minburst) argument
H A Dtc_cbq.h5 int ewma_log, unsigned maxburst);
7 int ewma_log, unsigned minburst);
H A Dtc_class.c110 if (est.ewma_log)
H A Dtc_estimator.c35 for (est->ewma_log=1; est->ewma_log<32; est->ewma_log++) {
36 double w = 1.0 - 1.0/(1<<est->ewma_log);
40 est->ewma_log--;
41 if (est->ewma_log==0 || est->ewma_log >= 31)
H A Dtc_filter.c153 if (est.ewma_log)
H A Dtc_qdisc.c125 if (est.ewma_log)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibxt_RATEEST.c12 unsigned int ewma_log; member in struct:rateest_tg_udata
100 if (RATEEST_get_time(&udata->ewma_log, cb->arg) < 0)
123 for (info->ewma_log = 1; info->ewma_log < 32; info->ewma_log++) {
124 double w = 1.0 - 1.0 / (1 << info->ewma_log);
125 if (udata->interval / (-log(w)) > udata->ewma_log)
128 info->ewma_log--;
130 if (info->ewma_log == 0 || info->ewma_log >
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/linux/netfilter/
H A Dxt_RATEEST.h9 __u8 ewma_log; member in struct:xt_rateest_target_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Didt77252.c2113 est->avcps += ((long)rate - (long)est->avcps) >> est->ewma_log;
2149 est->ewma_log = 2;
H A Didt77252.h192 unsigned int ewma_log; member in struct:rate_estimator
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dgen_stats.h58 * @ewma_log: the log of measurement window weight
63 unsigned char ewma_log; member in struct:gnet_estimator
H A Dpkt_sched.h46 unsigned char ewma_log; member in struct:tc_estimator
321 unsigned char ewma_log; member in struct:tc_cbq_lssopt
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dgen_estimator.c59 where W is chosen as negative power of 2: W = 2^(-ewma_log)
87 int ewma_log; member in struct:gen_estimator
121 e->avbps += ((long)rate - (long)e->avbps) >> e->ewma_log;
126 e->avpps += ((long)rate - (long)e->avpps) >> e->ewma_log;
170 est->ewma_log = parm->ewma_log;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dsch_cbq.c52 unsigned char ewma_log; /* time constant for idle time calculation */ member in struct:cbq_class
440 place, apparently they forgot to shift it by cl->ewma_log.
443 delay -= (-cl->avgidle) - ((-cl->avgidle) >> cl->ewma_log);
511 delay -= (-cl->avgidle) - ((-cl->avgidle) >> cl->ewma_log);
733 where W=2^{-ewma_log}. But cl->avgidle is scaled:
737 avgidle += idle - (avgidle>>cl->ewma_log);
756 idle = (-avgidle) - ((-avgidle) >> cl->ewma_log);
1255 cl->ewma_log = lss->ewma_log;
1389 q->link.ewma_log
[all...]

Completed in 233 milliseconds