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

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

Issue 2132623002: Landing Recent QUIC changes until 2016-07-02 02:45 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing comment about RPCs Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // A convenience class to store rtt samples and calculate smoothed rtt. 5 // A convenience class to store rtt samples and calculate smoothed rtt.
6 6
7 #ifndef NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ 7 #ifndef NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_
8 #define NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ 8 #define NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 QuicTime::Delta mean_deviation_; 92 QuicTime::Delta mean_deviation_;
93 int64_t initial_rtt_us_; 93 int64_t initial_rtt_us_;
94 94
95 // Variables used to force a new windowed_min_rtt measurement within 95 // Variables used to force a new windowed_min_rtt measurement within
96 // num_samples_for_forced_min_. 96 // num_samples_for_forced_min_.
97 QuicTime::Delta forced_windowed_min_rtt_; 97 QuicTime::Delta forced_windowed_min_rtt_;
98 QuicTime forced_windowed_min_rtt_time_; 98 QuicTime forced_windowed_min_rtt_time_;
99 uint32_t num_samples_for_forced_min_; 99 uint32_t num_samples_for_forced_min_;
100 100
101 // Windowed min_rtt. 101 // Windowed min_rtt.
102 WindowedFilter<QuicTime::Delta, MinFilter<QuicTime::Delta>> windowed_min_rtt_; 102 WindowedFilter<QuicTime::Delta,
103 MinFilter<QuicTime::Delta>,
104 QuicTime,
105 QuicTime::Delta>
106 windowed_min_rtt_;
103 107
104 DISALLOW_COPY_AND_ASSIGN(RttStats); 108 DISALLOW_COPY_AND_ASSIGN(RttStats);
105 }; 109 };
106 110
107 } // namespace net 111 } // namespace net
108 112
109 #endif // NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_ 113 #endif // NET_QUIC_CONGESTION_CONTROL_RTT_STATS_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/pacing_sender_test.cc ('k') | net/quic/congestion_control/rtt_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698