Lines Matching defs:ewma_log
60 int ewma_log=-1;
76 if (get_integer(&ewma_log, *argv, 0)) {
80 if (ewma_log > 31) {
81 fprintf(stderr, "ewma_log must be < 32\n");
160 if (ewma_log < 0)
161 ewma_log = TC_CBQ_DEF_EWMA;
162 lss.ewma_log = ewma_log;
193 int ewma_log=-1;
254 if (get_integer(&ewma_log, *argv, 0)) {
258 if (ewma_log > 31) {
259 fprintf(stderr, "ewma_log must be < 32\n");
371 if (ewma_log < 0)
372 ewma_log = TC_CBQ_DEF_EWMA;
373 lss.ewma_log = ewma_log;
399 lss.maxidle = tc_cbq_calc_maxidle(bndw, r.rate, lss.avpkt, ewma_log, maxburst);
404 lss.offtime = tc_cbq_calc_offtime(bndw, r.rate, lss.avpkt, ewma_log, minburst);
409 lss.minidle <<= lss.ewma_log;
529 fprintf(f, "\nlevel %u ewma %u avpkt %ub ", lss->level, lss->ewma_log, lss->avpkt);
531 fprintf(f, "maxidle %s ", sprint_ticks(lss->maxidle>>lss->ewma_log, b1));
536 fprintf(f, "minidle %s ", sprint_ticks(lss->minidle>>lss->ewma_log, b1));