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

Unified Diff: net/quic/congestion_control/rtt_stats.h

Issue 352403002: Repair the CWND reduction caused by spurious RTO's in QUIC's congestion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/congestion_control/pacing_sender.cc ('k') | net/quic/congestion_control/rtt_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/rtt_stats.h
diff --git a/net/quic/congestion_control/rtt_stats.h b/net/quic/congestion_control/rtt_stats.h
index ee8d1809086312aa82d2469f724c5527e5ea1be0..8ceaf21acf7ecc13f78b38bcac099533fc8b753b 100644
--- a/net/quic/congestion_control/rtt_stats.h
+++ b/net/quic/congestion_control/rtt_stats.h
@@ -32,6 +32,10 @@ class NET_EXPORT_PRIVATE RttStats {
QuicTime::Delta ack_delay,
QuicTime now);
+ // Causes the smoothed_rtt to be increased to the latest_rtt and the
+ // mean_variance to be increased to the most recent variance.
+ void ExpireSmoothedMetrics();
+
// Forces RttStats to sample a new recent min rtt within the next
// |num_samples| UpdateRtt calls.
void SampleNewRecentMinRtt(uint32 num_samples);
« no previous file with comments | « net/quic/congestion_control/pacing_sender.cc ('k') | net/quic/congestion_control/rtt_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698