Lines Matching defs:bytes_acked
791 void apply_ledbat_ccontrol(size_t bytes_acked, uint32 actual_delay, int64 min_rtt);
1630 void UTPSocket::apply_ledbat_ccontrol(size_t bytes_acked, uint32 actual_delay, int64 min_rtt)
1656 // (min(off_target, target) / target) * (bytes_acked / max_window) * MAX_CWND_INCREASE_BYTES_PER_RTT
1664 // the min around the bytes_acked protects against the case where the window size was recently
1668 assert(bytes_acked > 0);
1669 double window_factor = (double)min(bytes_acked, max_window) / (double)max(max_window, bytes_acked);
1678 assert(scaled_gain <= 1. + MAX_CWND_INCREASE_BYTES_PER_RTT * (int)min(bytes_acked, max_window) / (double)max(max_window, bytes_acked));
1705 (our_delay + their_hist.get_value()) / 1000, target / 1000, (uint)bytes_acked,
1706 (uint)(cur_window - bytes_acked), (float)(scaled_gain), rtt,