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

Unified Diff: net/quic/quic_connection_stats.cc

Issue 182523002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed rch's comments in Patch set 1 of CL 181463007 Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_connection_stats.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_stats.cc
diff --git a/net/quic/quic_connection_stats.cc b/net/quic/quic_connection_stats.cc
index a62f7309603d0d28b8af9082c338fcf72e240667..324ea4225db711250e5a89af613cbf3eae05e3fb 100644
--- a/net/quic/quic_connection_stats.cc
+++ b/net/quic/quic_connection_stats.cc
@@ -22,10 +22,13 @@ QuicConnectionStats::QuicConnectionStats()
packets_revived(0),
packets_dropped(0),
crypto_retransmit_count(0),
+ loss_timeout_count(0),
tlp_count(0),
rto_count(0),
rtt(0),
- estimated_bandwidth(0) {
+ estimated_bandwidth(0),
+ cwnd_increase_cubic_mode(0),
+ cwnd_increase_reno_mode(0) {
}
QuicConnectionStats::~QuicConnectionStats() {}
@@ -49,6 +52,10 @@ ostream& operator<<(ostream& os, const QuicConnectionStats& s) {
<< ", tlp count: " << s.tlp_count
<< ", rtt(us): " << s.rtt
<< ", estimated_bandwidth: " << s.estimated_bandwidth
+ << ", amount of cwnd increase in TCPCubic, in cubic mode: "
+ << s.cwnd_increase_cubic_mode
+ << ", amount of cwnd increase in TCPCubic, matched by or in reno mode: "
+ << s.cwnd_increase_reno_mode
<< "}\n";
return os;
}
« no previous file with comments | « net/quic/quic_connection_stats.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698