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

Side by Side Diff: net/quic/congestion_control/tcp_cubic_sender_base.h

Issue 2002103002: Implement a QUIC No PRR connection option, NPRR. Protected by FLAGS_quic_allow_no_prr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@122422703
Patch Set: Created 4 years, 7 months 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // TCP cubic send side congestion algorithm, emulates the behavior of TCP cubic. 5 // TCP cubic send side congestion algorithm, emulates the behavior of TCP cubic.
6 6
7 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_ 7 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_
8 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_ 8 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Whether to use 4 packets as the actual min, but pace lower. 136 // Whether to use 4 packets as the actual min, but pace lower.
137 bool min4_mode_; 137 bool min4_mode_;
138 138
139 // Whether the last loss event caused us to exit slowstart. 139 // Whether the last loss event caused us to exit slowstart.
140 // Used for stats collection of slowstart_packets_lost 140 // Used for stats collection of slowstart_packets_lost
141 bool last_cutback_exited_slowstart_; 141 bool last_cutback_exited_slowstart_;
142 142
143 // When true, exit slow start with large cutback of congestion window. 143 // When true, exit slow start with large cutback of congestion window.
144 bool slow_start_large_reduction_; 144 bool slow_start_large_reduction_;
145 145
146 // When true, use unity pacing instead of PRR.
147 bool no_prr_;
148
146 private: 149 private:
147 DISALLOW_COPY_AND_ASSIGN(TcpCubicSenderBase); 150 DISALLOW_COPY_AND_ASSIGN(TcpCubicSenderBase);
148 }; 151 };
149 152
150 } // namespace net 153 } // namespace net
151 154
152 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_ 155 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_BASE_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/pacing_sender_test.cc ('k') | net/quic/congestion_control/tcp_cubic_sender_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698