Home | History | Annotate | Download | only in tc

Lines Matching refs:est

26 int tc_setup_estimator(unsigned int A, unsigned int time_const, struct tc_estimator *est)
28 for (est->interval = 0; est->interval <= 5; est->interval++) {
29 if (A <= (1<<est->interval)*(TIME_UNITS_PER_SEC/4))
32 if (est->interval > 5)
34 est->interval -= 2;
35 for (est->ewma_log = 1; est->ewma_log < 32; est->ewma_log++) {
36 double w = 1.0 - 1.0/(1<<est->ewma_log);
41 est->ewma_log--;
42 if (est->ewma_log == 0 || est->ewma_log >= 31)