| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |