Searched refs:ewma_log (Results 1 - 13 of 13) sorted by relevance

/external/iproute2/tc/
H A Dtc_cbq.h5 int ewma_log, unsigned maxburst);
7 int ewma_log, unsigned minburst);
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_cbq.c28 int ewma_log, unsigned maxburst)
31 double g = 1.0 - 1.0/(1<<ewma_log);
41 return tc_core_time2tick(maxidle*(1<<ewma_log)*TIME_UNITS_PER_SEC);
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 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.c59 int ewma_log=-1; local
75 if (get_integer(&ewma_log, *argv, 0)) {
79 if (ewma_log > 31) {
80 fprintf(stderr, "ewma_log must be < 32\n");
159 if (ewma_log < 0)
160 ewma_log = TC_CBQ_DEF_EWMA;
161 lss.ewma_log = ewma_log;
192 int ewma_log=-1; local
253 if (get_integer(&ewma_log, *arg
[all...]
H A Dtc_class.c113 if (est.ewma_log)
H A Dtc_filter.c157 if (est.ewma_log)
H A Dtc_qdisc.c137 if (est.ewma_log)
/external/iptables/include/linux/netfilter/
H A Dxt_RATEEST.h9 __u8 ewma_log; member in struct:xt_rateest_target_info
/external/iptables/extensions/
H A Dlibxt_RATEEST.c16 static unsigned int ewma_log; variable
121 if (RATEEST_get_time(&ewma_log, optarg) < 0)
153 for (info->ewma_log = 1; info->ewma_log < 32; info->ewma_log++) {
154 double w = 1.0 - 1.0 / (1 << info->ewma_log);
155 if (interval / (-log(w)) > ewma_log)
158 info->ewma_log--;
160 if (info->ewma_log == 0 || info->ewma_log >
[all...]
/external/iproute2/include/linux/
H A Dgen_stats.h59 * @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
333 unsigned char ewma_log; member in struct:tc_cbq_lssopt
/external/kernel-headers/original/linux/
H A Dpkt_sched.h48 unsigned char ewma_log; member in struct:tc_estimator
357 unsigned char ewma_log; member in struct:tc_cbq_lssopt

Completed in 180 milliseconds