Searched refs:ticks_since_cong (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/netinet/cc/ |
| H A D | cc_cubic.h | 103 theoretical_cubic_cwnd(int ticks_since_cong, unsigned long wmax, uint32_t smss) in theoretical_cubic_cwnd() argument 111 (C * pow(ticks_since_cong / (double)hz - in theoretical_cubic_cwnd() 116 theoretical_reno_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in theoretical_reno_cwnd() argument 120 return ((wmax * 0.5) + ((ticks_since_cong / (float)rtt_ticks) * smss)); in theoretical_reno_cwnd() 124 theoretical_tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in theoretical_tf_cwnd() argument 129 (ticks_since_cong / (float)rtt_ticks) * smss)); in theoretical_tf_cwnd() 183 cwnd = (((int64_t)ticks_since_cong << CUBIC_SHIFT) - (K * hz)) / hz; in cubic_cwnd() 217 reno_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in reno_cwnd() argument 226 return (((wmax * RENO_BETA) + (((ticks_since_cong * smss) in reno_cwnd() 238 tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in tf_cwnd() argument [all …]
|
| H A D | cc_cubic.c | 137 int ticks_since_cong; in cubic_ack_received() local 169 if ((ticks_since_cong = in cubic_ack_received() 174 ticks_since_cong = INT_MAX; in cubic_ack_received() 184 w_tf = tf_cwnd(ticks_since_cong, in cubic_ack_received() 188 w_cubic_next = cubic_cwnd(ticks_since_cong + in cubic_ack_received()
|