Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: net/quic/core/congestion_control/bbr_sender.h

Issue 2542273002: Ensure that BBR does not drop to exceedingly low pacing rates during the STARTUP phase. Protected … (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 bool last_sample_is_app_limited_; 263 bool last_sample_is_app_limited_;
264 264
265 // Current state of recovery. 265 // Current state of recovery.
266 RecoveryState recovery_state_; 266 RecoveryState recovery_state_;
267 // Receiving acknowledgement of a packet after |end_recovery_at_| will cause 267 // Receiving acknowledgement of a packet after |end_recovery_at_| will cause
268 // BBR to exit the recovery mode. 268 // BBR to exit the recovery mode.
269 QuicPacketNumber end_recovery_at_; 269 QuicPacketNumber end_recovery_at_;
270 // A window used to limit the number of bytes in flight during loss recovery. 270 // A window used to limit the number of bytes in flight during loss recovery.
271 QuicByteCount recovery_window_; 271 QuicByteCount recovery_window_;
272 272
273 // Indicates whether to always only increase the pacing rate during startup.
274 // Latches |FLAGS_quic_bbr_faster_startup|.
275 bool enforce_startup_pacing_rate_increase_;
276
273 DISALLOW_COPY_AND_ASSIGN(BbrSender); 277 DISALLOW_COPY_AND_ASSIGN(BbrSender);
274 }; 278 };
275 279
276 NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 280 NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
277 const BbrSender::Mode& mode); 281 const BbrSender::Mode& mode);
278 NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, 282 NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
279 const BbrSender::DebugState& state); 283 const BbrSender::DebugState& state);
280 284
281 } // namespace net 285 } // namespace net
282 286
283 #endif // NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_ 287 #endif // NET_QUIC_CORE_CONGESTION_CONTROL_BBR_SENDER_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/core/congestion_control/bbr_sender.cc » ('j') | net/quic/core/quic_flags_list.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698