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

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

Issue 125403006: Various QUIC cleanups to sync with internal code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // Ramp up bitrate from a start point normally our "current_rate" as long as we 5 // Ramp up bitrate from a start point normally our "current_rate" as long as we
6 // have no packet loss or delay events. 6 // have no packet loss or delay events.
7 // The first half of the ramp up curve follows a cubic function with its orgin 7 // The first half of the ramp up curve follows a cubic function with its orgin
8 // at the estimated available bandwidth, onece the bitrate pass the halfway 8 // at the estimated available bandwidth, onece the bitrate pass the halfway
9 // point between the estimated available bandwidth and the estimated max 9 // point between the estimated available bandwidth and the estimated max
10 // bandwidth it will follw a new cubic function with its orgin at the estimated 10 // bandwidth it will follw a new cubic function with its orgin at the estimated
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Time when we updated current_rate_. 55 // Time when we updated current_rate_.
56 QuicTime last_update_time_; 56 QuicTime last_update_time_;
57 57
58 // Time to origin point of cubic function in 2^10 fractions of a second. 58 // Time to origin point of cubic function in 2^10 fractions of a second.
59 uint32 time_to_origin_point_; 59 uint32 time_to_origin_point_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(InterArrivalBitrateRampUp); 61 DISALLOW_COPY_AND_ASSIGN(InterArrivalBitrateRampUp);
62 }; 62 };
63 63
64 } // namespace net 64 } // namespace net
65
65 #endif // NET_QUIC_CONGESTION_CONTROL_INTER_ARRIVAL_BITRATE_RAMP_UP_H_ 66 #endif // NET_QUIC_CONGESTION_CONTROL_INTER_ARRIVAL_BITRATE_RAMP_UP_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/hybrid_slow_start.cc ('k') | net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698