Home
last modified time | relevance | path

Searched refs:ewma_log (Results 1 – 22 of 22) sorted by relevance

/external/iproute2/tc/
Dtc_estimator.c35 for (est->ewma_log = 1; est->ewma_log < 32; est->ewma_log++) { in tc_setup_estimator()
36 double w = 1.0 - 1.0/(1<<est->ewma_log); in tc_setup_estimator()
41 est->ewma_log--; in tc_setup_estimator()
42 if (est->ewma_log == 0 || est->ewma_log >= 31) in tc_setup_estimator()
Dq_cbq.c59 int ewma_log = -1; in cbq_parse_opt() local
72 if (get_integer(&ewma_log, *argv, 0)) { in cbq_parse_opt()
76 if (ewma_log > 31) { in cbq_parse_opt()
157 if (ewma_log < 0) in cbq_parse_opt()
158 ewma_log = TC_CBQ_DEF_EWMA; in cbq_parse_opt()
159 lss.ewma_log = ewma_log; in cbq_parse_opt()
190 int ewma_log = -1; in cbq_parse_class_opt() local
245 if (get_integer(&ewma_log, *argv, 0)) { in cbq_parse_class_opt()
249 if (ewma_log > 31) { in cbq_parse_class_opt()
366 if (ewma_log < 0) in cbq_parse_class_opt()
[all …]
Dtc_cbq.c28 int ewma_log, unsigned int maxburst) in tc_cbq_calc_maxidle() argument
31 double g = 1.0 - 1.0/(1<<ewma_log); in tc_cbq_calc_maxidle()
42 return tc_core_time2tick(maxidle*(1<<ewma_log)*TIME_UNITS_PER_SEC); in tc_cbq_calc_maxidle()
46 int ewma_log, unsigned int minburst) in tc_cbq_calc_offtime() argument
48 double g = 1.0 - 1.0/(1<<ewma_log); in tc_cbq_calc_offtime()
Dtc_cbq.h5 int ewma_log, unsigned maxburst);
7 int ewma_log, unsigned minburst);
Dm_estimator.c44 if (est->ewma_log) in parse_estimator()
60 fprintf(stderr, "[estimator i=%u e=%u]\n", est->interval, est->ewma_log); in parse_estimator()
Dtc_qdisc.c139 if (est.ewma_log) in tc_qdisc_modify()
Dtc_class.c124 if (est.ewma_log) in tc_class_modify()
Dtc_filter.c183 if (est.ewma_log) in tc_filter_modify()
/external/iptables/extensions/
Dlibxt_RATEEST.c16 unsigned int ewma_log; member
104 if (RATEEST_get_time(&udata->ewma_log, cb->arg) < 0) in RATEEST_parse()
127 for (info->ewma_log = 1; info->ewma_log < 32; info->ewma_log++) { in RATEEST_final_check()
128 double w = 1.0 - 1.0 / (1 << info->ewma_log); in RATEEST_final_check()
129 if (udata->interval / (-log(w)) > udata->ewma_log) in RATEEST_final_check()
132 info->ewma_log--; in RATEEST_final_check()
134 if (info->ewma_log == 0 || info->ewma_log >= 31) in RATEEST_final_check()
147 local_ewma_log = local_interval * (1 << (info->ewma_log)); in __RATEEST_print()
/external/strace/tests-mx32/
Dnlattr_tcmsg.c113 .ewma_log = 0xab in main()
119 PRINT_FIELD_U(", ", est, ewma_log); in main()
/external/strace/tests/
Dnlattr_tcmsg.c113 .ewma_log = 0xab in main()
119 PRINT_FIELD_U(", ", est, ewma_log); in main()
/external/strace/tests-m32/
Dnlattr_tcmsg.c113 .ewma_log = 0xab in main()
119 PRINT_FIELD_U(", ", est, ewma_log); in main()
/external/iptables/include/linux/netfilter/
Dxt_RATEEST.h9 __u8 ewma_log; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_RATEEST.h11 __u8 ewma_log; member
/external/libnl/lib/route/qdisc/
Dcbq.c133 el = cbq->cbq_lss.ewma_log; in cbq_dump_details()
140 cbq->cbq_lss.ewma_log); in cbq_dump_details()
/external/kernel-headers/original/uapi/linux/
Dgen_stats.h74 unsigned char ewma_log; member
Dpkt_sched.h48 unsigned char ewma_log; member
492 unsigned char ewma_log; member
/external/libnl/include/linux-private/linux/
Dgen_stats.h76 unsigned char ewma_log; member
Dpkt_sched.h47 unsigned char ewma_log; member
444 unsigned char ewma_log; member
/external/iproute2/include/uapi/linux/
Dgen_stats.h76 unsigned char ewma_log; member
Dpkt_sched.h47 unsigned char ewma_log; member
428 unsigned char ewma_log; member
/external/strace/
Drtnl_tc.c85 PRINT_FIELD_U(", ", est, ewma_log); in decode_tc_estimator()