Lines Matching full:1000000
14 #define TFRC_CALC_X_SPLIT 50000 /* 0.05 * 1000000, details below */
54 scaled by 1000000:
59 g(q) = 1000000 * f(q/1000000)
61 Hence, when p <= 1, q must be less than or equal to 1000000. To achieve finer
71 lookup[i][0] = g((i+1) * 1000000/TFRC_CALC_X_ARRSIZE);
76 lookup[0][0] = g(1000000/(M+1)) = 1000000 * f(0.2%)
77 lookup[M][0] = g(1000000) = 1000000 * f(100%)
78 lookup[0][1] = g(TFRC_SMALLEST_P) = 1000000 * f(0.01%)
79 lookup[M][1] = g(TFRC_CALC_X_SPLIT) = 1000000 * f(5%)
608 * @R: RTT scaled by 1000000 (i.e., microseconds)
609 * @p: loss ratio estimate scaled by 1000000
620 BUG_ON(p > 1000000); /* p must not exceed 100% */ in tfrc_calc_x()
638 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1; in tfrc_calc_x()
645 * Since f(p) and R are both scaled by 1000000, we need to multiply by in tfrc_calc_x()
646 * 1000000^2. To avoid overflow, the result is computed in two stages. in tfrc_calc_x()
658 * @fvalue: function value to match, scaled by 1000000
660 * Returns closest match for p, also scaled by 1000000
676 return 1000000; in tfrc_calc_x_reverse_lookup()
686 return (index + 1) * 1000000 / TFRC_CALC_X_ARRSIZE; in tfrc_calc_x_reverse_lookup()
700 return 1000000; in tfrc_invert_loss_event_rate()