| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // BBR (Bottleneck Bandwidth and RTT) congestion control algorithm. | 5 // BBR (Bottleneck Bandwidth and RTT) congestion control algorithm. |
| 6 | 6 |
| 7 #ifndef NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_ | 7 #ifndef NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_ |
| 8 #define NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_ | 8 #define NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_ |
| 9 | 9 |
| 10 #include <cstdint> | 10 #include <cstdint> |
| 11 #include <ostream> | 11 #include <ostream> |
| 12 | 12 |
| 13 #include "net/quic/core/congestion_control/bandwidth_sampler.h" | 13 #include "net/quic/core/congestion_control/bandwidth_sampler.h" |
| 14 #include "net/quic/core/congestion_control/send_algorithm_interface.h" | 14 #include "net/quic/core/congestion_control/send_algorithm_interface.h" |
| 15 #include "net/quic/core/congestion_control/windowed_filter.h" | 15 #include "net/quic/core/congestion_control/windowed_filter.h" |
| 16 #include "net/quic/core/crypto/quic_random.h" | 16 #include "net/quic/core/crypto/quic_random.h" |
| 17 #include "net/quic/core/quic_bandwidth.h" | 17 #include "net/quic/core/quic_bandwidth.h" |
| 18 #include "net/quic/core/quic_protocol.h" | 18 #include "net/quic/core/quic_packets.h" |
| 19 #include "net/quic/core/quic_time.h" | 19 #include "net/quic/core/quic_time.h" |
| 20 #include "net/quic/core/quic_unacked_packet_map.h" | 20 #include "net/quic/core/quic_unacked_packet_map.h" |
| 21 | 21 |
| 22 namespace net { | 22 namespace net { |
| 23 | 23 |
| 24 class RttStats; | 24 class RttStats; |
| 25 | 25 |
| 26 typedef uint64_t QuicRoundTripCount; | 26 typedef uint64_t QuicRoundTripCount; |
| 27 | 27 |
| 28 // BbrSender implements BBR congestion control algorithm. BBR aims to estimate | 28 // BbrSender implements BBR congestion control algorithm. BBR aims to estimate |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 }; | 274 }; |
| 275 | 275 |
| 276 NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 276 NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
| 277 const BbrSender::Mode& mode); | 277 const BbrSender::Mode& mode); |
| 278 NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 278 NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
| 279 const BbrSender::DebugState& state); | 279 const BbrSender::DebugState& state); |
| 280 | 280 |
| 281 } // namespace net | 281 } // namespace net |
| 282 | 282 |
| 283 #endif // NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_ | 283 #endif // NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_ |
| OLD | NEW |