QuicBandwidth 53 net/quic/congestion_control/available_channel_estimator.cc QuicBandwidth* bandwidth) const { QuicBandwidth 62 net/quic/congestion_control/available_channel_estimator.cc *bandwidth = QuicBandwidth::FromBytesAndTimeDelta(received_bytes_, QuicBandwidth 50 net/quic/congestion_control/available_channel_estimator.h QuicBandwidth* bandwidth_estimate) const; QuicBandwidth 35 net/quic/congestion_control/available_channel_estimator_test.cc QuicBandwidth bandwidth = QuicBandwidth::Zero(); QuicBandwidth 61 net/quic/congestion_control/available_channel_estimator_test.cc EXPECT_EQ(QuicBandwidth::FromBytesAndTimeDelta(packet_size_, received_delta), QuicBandwidth 80 net/quic/congestion_control/available_channel_estimator_test.cc QuicBandwidth bandwidth = QuicBandwidth::Zero(); QuicBandwidth 83 net/quic/congestion_control/available_channel_estimator_test.cc EXPECT_EQ(QuicBandwidth::FromBytesAndTimeDelta(packet_size_, received_delta), QuicBandwidth 101 net/quic/congestion_control/available_channel_estimator_test.cc QuicBandwidth bandwidth = QuicBandwidth::Zero(); QuicBandwidth 104 net/quic/congestion_control/available_channel_estimator_test.cc EXPECT_EQ(QuicBandwidth::FromBytesAndTimeDelta(packet_size_, received_delta), QuicBandwidth 57 net/quic/congestion_control/channel_estimator.cc QuicBandwidth* estimate) const { QuicBandwidth 72 net/quic/congestion_control/channel_estimator.cc QuicBandwidth bitrate_25th_percentile = QuicBandwidth::Zero(); QuicBandwidth 73 net/quic/congestion_control/channel_estimator.cc QuicBandwidth median_bitrate = QuicBandwidth::Zero(); QuicBandwidth 74 net/quic/congestion_control/channel_estimator.cc QuicBandwidth bitrate_75th_percentile = QuicBandwidth::Zero(); QuicBandwidth 75 net/quic/congestion_control/channel_estimator.cc QuicMaxSizedMap<QuicBandwidth, QuicPacketSequenceNumber>::ConstIterator it = QuicBandwidth 105 net/quic/congestion_control/channel_estimator.cc QuicBandwidth estimate = QuicBandwidth 106 net/quic/congestion_control/channel_estimator.cc QuicBandwidth::FromBytesAndTimeDelta(size_delta, received_delta); QuicBandwidth 45 net/quic/congestion_control/channel_estimator.h ChannelEstimateState GetChannelEstimate(QuicBandwidth* estimate) const; QuicBandwidth 54 net/quic/congestion_control/channel_estimator.h QuicMaxSizedMap<QuicBandwidth, QuicPacketSequenceNumber> QuicBandwidth 44 net/quic/congestion_control/channel_estimator_test.cc QuicBandwidth estimate = QuicBandwidth::Zero(); QuicBandwidth 75 net/quic/congestion_control/channel_estimator_test.cc QuicBandwidth estimate = QuicBandwidth::Zero(); QuicBandwidth 78 net/quic/congestion_control/channel_estimator_test.cc EXPECT_EQ(QuicBandwidth::FromBytesAndTimeDelta(packet_size_, received_delta), QuicBandwidth 99 net/quic/congestion_control/channel_estimator_test.cc EXPECT_EQ(QuicBandwidth::FromBytesAndTimeDelta(packet_size_, received_delta), QuicBandwidth 128 net/quic/congestion_control/channel_estimator_test.cc QuicBandwidth estimate = QuicBandwidth::Zero(); QuicBandwidth 139 net/quic/congestion_control/channel_estimator_test.cc EXPECT_EQ(QuicBandwidth::FromBytesAndTimeDelta(packet_size_, QuicBandwidth 168 net/quic/congestion_control/channel_estimator_test.cc QuicBandwidth estimate = QuicBandwidth::Zero(); QuicBandwidth 179 net/quic/congestion_control/channel_estimator_test.cc EXPECT_EQ(QuicBandwidth::FromBytesAndTimeDelta(packet_size_, QuicBandwidth 208 net/quic/congestion_control/channel_estimator_test.cc QuicBandwidth estimate = QuicBandwidth::Zero(); QuicBandwidth 219 net/quic/congestion_control/channel_estimator_test.cc EXPECT_EQ(QuicBandwidth::FromBytesAndTimeDelta(packet_size_, QuicBandwidth 17 net/quic/congestion_control/fix_rate_receiver.cc : configured_rate_(QuicBandwidth::FromBytesPerSecond(kInitialBitrate)) { QuicBandwidth 37 net/quic/congestion_control/fix_rate_receiver.h QuicBandwidth configured_rate_; QuicBandwidth 24 net/quic/congestion_control/fix_rate_sender.cc : bitrate_(QuicBandwidth::FromBytesPerSecond(kInitialBitrate)), QuicBandwidth 110 net/quic/congestion_control/fix_rate_sender.cc QuicBandwidth FixRateSender::BandwidthEstimate() const { QuicBandwidth 47 net/quic/congestion_control/fix_rate_sender.h virtual QuicBandwidth BandwidthEstimate() const OVERRIDE; QuicBandwidth 56 net/quic/congestion_control/fix_rate_sender.h QuicBandwidth bitrate_; QuicBandwidth 24 net/quic/congestion_control/fix_rate_test.cc void SetBitrate(QuicBandwidth fix_rate) { QuicBandwidth 47 net/quic/congestion_control/fix_rate_test.cc receiver_->SetBitrate(QuicBandwidth::FromKBytesPerSecond(300)); QuicBandwidth 57 net/quic/congestion_control/fix_rate_test.cc feedback.fix_rate.bitrate = QuicBandwidth::FromKBytesPerSecond(300); QuicBandwidth 86 net/quic/congestion_control/fix_rate_test.cc const QuicBandwidth bitrate = QuicBandwidth::FromKBytesPerSecond(240); QuicBandwidth 89 net/quic/congestion_control/fix_rate_test.cc receiver_->SetBitrate(QuicBandwidth::FromKBytesPerSecond(240)); QuicBandwidth 29 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc current_rate_(QuicBandwidth::Zero()), QuicBandwidth 30 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc channel_estimate_(QuicBandwidth::Zero()), QuicBandwidth 31 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc available_channel_estimate_(QuicBandwidth::Zero()), QuicBandwidth 32 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc halfway_point_(QuicBandwidth::Zero()), QuicBandwidth 37 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc void InterArrivalBitrateRampUp::Reset(QuicBandwidth new_rate, QuicBandwidth 38 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc QuicBandwidth available_channel_estimate, QuicBandwidth 39 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc QuicBandwidth channel_estimate) { QuicBandwidth 65 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc QuicBandwidth channel_estimate) { QuicBandwidth 104 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc QuicBandwidth InterArrivalBitrateRampUp::GetNewBitrate( QuicBandwidth 105 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc QuicBandwidth sent_bitrate) { QuicBandwidth 145 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc QuicBandwidth current_rate = QuicBandwidth::FromBytesPerSecond( QuicBandwidth 165 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc current_rate_ = QuicBandwidth::FromBytesPerSecond( QuicBandwidth 172 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc QuicBandwidth rate_difference) const { QuicBandwidth 28 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h void Reset(QuicBandwidth current_rate, QuicBandwidth 29 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h QuicBandwidth available_channel_estimate, QuicBandwidth 30 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h QuicBandwidth channel_estimate); QuicBandwidth 33 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h void UpdateChannelEstimate(QuicBandwidth channel_estimate); QuicBandwidth 36 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h QuicBandwidth GetNewBitrate(QuicBandwidth sent_bitrate); QuicBandwidth 39 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h uint32 CalcuateTimeToOriginPoint(QuicBandwidth rate_difference) const; QuicBandwidth 47 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h QuicBandwidth current_rate_; QuicBandwidth 48 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h QuicBandwidth channel_estimate_; QuicBandwidth 49 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h QuicBandwidth available_channel_estimate_; QuicBandwidth 50 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h QuicBandwidth halfway_point_; QuicBandwidth 35 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth start_rate = QuicBandwidth::FromKBytesPerSecond(100); QuicBandwidth 36 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth available_channel_estimate = QuicBandwidth 37 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth::FromKBytesPerSecond(200); QuicBandwidth 38 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth channel_estimate = QuicBandwidth::FromKBytesPerSecond(400); QuicBandwidth 39 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth halfway_point = available_channel_estimate.Add( QuicBandwidth 41 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth sent_bitrate = QuicBandwidth::Zero(); QuicBandwidth 103 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth start_rate = QuicBandwidth::FromKBytesPerSecond(100); QuicBandwidth 104 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth available_channel_estimate = QuicBandwidth 105 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth::FromKBytesPerSecond(200); QuicBandwidth 106 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth max_sent_rate = QuicBandwidth 107 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth::FromKBytesPerSecond(125); QuicBandwidth 108 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth channel_estimate = QuicBandwidth::FromKBytesPerSecond(400); QuicBandwidth 109 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth halfway_point = available_channel_estimate.Add( QuicBandwidth 111 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth sent_bitrate = QuicBandwidth::Zero(); QuicBandwidth 161 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth start_rate = QuicBandwidth::FromKBytesPerSecond(100); QuicBandwidth 162 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth available_channel_estimate = QuicBandwidth 163 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth::FromKBytesPerSecond(200); QuicBandwidth 164 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth channel_estimate = QuicBandwidth::FromKBytesPerSecond(250); QuicBandwidth 165 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth halfway_point = available_channel_estimate.Add( QuicBandwidth 167 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth sent_bitrate = QuicBandwidth::Zero(); QuicBandwidth 229 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth start_rate = QuicBandwidth::FromKBytesPerSecond(100); QuicBandwidth 230 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth available_channel_estimate = QuicBandwidth 231 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth::FromKBytesPerSecond(200); QuicBandwidth 232 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth channel_estimate = QuicBandwidth 233 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth::FromKBytesPerSecond(400 * 0.7f); QuicBandwidth 234 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth halfway_point = available_channel_estimate.Add( QuicBandwidth 236 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth sent_bitrate = QuicBandwidth::Zero(); QuicBandwidth 298 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth start_rate = QuicBandwidth::FromKBytesPerSecond(100); QuicBandwidth 299 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth available_channel_estimate = QuicBandwidth 300 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth::FromKBytesPerSecond(200); QuicBandwidth 301 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth channel_estimate = QuicBandwidth::FromKBytesPerSecond(400); QuicBandwidth 302 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth sent_bitrate = QuicBandwidth::Zero(); QuicBandwidth 332 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth start_rate = QuicBandwidth::FromKBytesPerSecond(200); QuicBandwidth 333 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth available_channel_estimate = start_rate; QuicBandwidth 334 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth channel_estimate = QuicBandwidth::FromKBytesPerSecond(250); QuicBandwidth 335 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth halfway_point = available_channel_estimate.Add( QuicBandwidth 337 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth sent_bitrate = QuicBandwidth::Zero(); QuicBandwidth 354 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc channel_estimate = QuicBandwidth::FromKBytesPerSecond(300); QuicBandwidth 370 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth start_rate = QuicBandwidth::FromKBytesPerSecond(200); QuicBandwidth 371 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth available_channel_estimate = start_rate; QuicBandwidth 372 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth channel_estimate = QuicBandwidth::FromKBytesPerSecond(250); QuicBandwidth 373 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth halfway_point = available_channel_estimate.Add( QuicBandwidth 375 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc QuicBandwidth sent_bitrate = QuicBandwidth::Zero(); QuicBandwidth 392 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc channel_estimate = QuicBandwidth::FromKBytesPerSecond(240); QuicBandwidth 26 net/quic/congestion_control/inter_arrival_probe.cc available_channel_estimate_(QuicBandwidth::Zero()), QuicBandwidth 33 net/quic/congestion_control/inter_arrival_probe.cc bool InterArrivalProbe::GetEstimate(QuicBandwidth* available_channel_estimate) { QuicBandwidth 98 net/quic/congestion_control/inter_arrival_probe.cc QuicBandwidth available_channel_estimate = QuicBandwidth::Zero(); QuicBandwidth 106 net/quic/congestion_control/inter_arrival_probe.cc QuicBandwidth::FromBytesPerSecond(kDefaultBytesPerSecond); QuicBandwidth 118 net/quic/congestion_control/inter_arrival_probe.cc QuicBandwidth::FromBytesPerSecond(kDefaultBytesPerSecond)); QuicBandwidth 48 net/quic/congestion_control/inter_arrival_probe.h bool GetEstimate(QuicBandwidth* available_channel_estimate); QuicBandwidth 55 net/quic/congestion_control/inter_arrival_probe.h QuicBandwidth available_channel_estimate_; QuicBandwidth 43 net/quic/congestion_control/inter_arrival_probe_test.cc QuicBandwidth available_channel_estimate = QuicBandwidth::Zero(); QuicBandwidth 65 net/quic/congestion_control/inter_arrival_probe_test.cc QuicBandwidth available_channel_estimate = QuicBandwidth::Zero(); QuicBandwidth 37 net/quic/congestion_control/inter_arrival_sender.cc current_bandwidth_(QuicBandwidth::Zero()), QuicBandwidth 44 net/quic/congestion_control/inter_arrival_sender.cc paced_sender_(new PacedSender(QuicBandwidth::FromKBytesPerSecond( QuicBandwidth 48 net/quic/congestion_control/inter_arrival_sender.cc back_down_bandwidth_(QuicBandwidth::Zero()), QuicBandwidth 62 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth InterArrivalSender::CalculateSentBandwidth( QuicBandwidth 87 net/quic/congestion_control/inter_arrival_sender.cc return QuicBandwidth::Zero(); QuicBandwidth 89 net/quic/congestion_control/inter_arrival_sender.cc return QuicBandwidth::FromBytesAndTimeDelta(sum_bytes_sent, max_diff); QuicBandwidth 101 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth sent_bandwidth = CalculateSentBandwidth(feedback_receive_time); QuicBandwidth 158 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth available_channel_estimate = QuicBandwidth::Zero(); QuicBandwidth 163 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth channel_estimate = QuicBandwidth::Zero(); QuicBandwidth 167 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth new_rate = QuicBandwidth 182 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth::FromKBitsPerSecond(kMinBitrateKbit)); QuicBandwidth 268 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth sent_bandwidth) { QuicBandwidth 300 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth InterArrivalSender::BandwidthEstimate() const { QuicBandwidth 319 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth sent_bandwidth) { QuicBandwidth 320 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth new_bandwidth = bitrate_ramp_up_->GetNewBitrate(sent_bandwidth); QuicBandwidth 327 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth channel_estimate = QuicBandwidth::Zero(); QuicBandwidth 363 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth new_estimate = QuicBandwidth::Zero(); QuicBandwidth 372 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth draining_rate = back_down_bandwidth_.Scale(fraction_of_rate); QuicBandwidth 373 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth max_estimated_draining_rate = QuicBandwidth 400 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth channel_estimate = QuicBandwidth::Zero(); QuicBandwidth 442 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth new_target_bitrate = QuicBandwidth 446 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth min_delay_bitrate = QuicBandwidth 447 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth::FromBytesAndTimeDelta(max_segment_size_, QuicBandwidth 468 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth new_rate) { QuicBandwidth 470 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth::FromKBitsPerSecond(kMinBitrateKbit)); QuicBandwidth 471 net/quic/congestion_control/inter_arrival_sender.cc QuicBandwidth channel_estimate = QuicBandwidth::Zero(); QuicBandwidth 50 net/quic/congestion_control/inter_arrival_sender.h virtual QuicBandwidth BandwidthEstimate() const OVERRIDE; QuicBandwidth 72 net/quic/congestion_control/inter_arrival_sender.h QuicBandwidth CalculateSentBandwidth(QuicTime feedback_receive_time) const; QuicBandwidth 74 net/quic/congestion_control/inter_arrival_sender.h QuicBandwidth sent_bandwidth); QuicBandwidth 76 net/quic/congestion_control/inter_arrival_sender.h QuicBandwidth sent_bandwidth); QuicBandwidth 85 net/quic/congestion_control/inter_arrival_sender.h QuicBandwidth new_rate); QuicBandwidth 97 net/quic/congestion_control/inter_arrival_sender.h QuicBandwidth current_bandwidth_; QuicBandwidth 107 net/quic/congestion_control/inter_arrival_sender.h QuicBandwidth back_down_bandwidth_; // Bandwidth before backing down. QuicBandwidth 469 net/quic/congestion_control/inter_arrival_sender_test.cc QuicBandwidth expected_min_bitrate = QuicBandwidth::FromKBitsPerSecond(10); QuicBandwidth 498 net/quic/congestion_control/inter_arrival_sender_test.cc QuicBandwidth expected_min_bitrate = QuicBandwidth::FromKBitsPerSecond(10); QuicBandwidth 11 net/quic/congestion_control/leaky_bucket.cc LeakyBucket::LeakyBucket(QuicBandwidth draining_rate) QuicBandwidth 17 net/quic/congestion_control/leaky_bucket.cc void LeakyBucket::SetDrainingRate(QuicTime now, QuicBandwidth draining_rate) { QuicBandwidth 23 net/quic/congestion_control/leaky_bucket.h explicit LeakyBucket(QuicBandwidth draining_rate); QuicBandwidth 26 net/quic/congestion_control/leaky_bucket.h void SetDrainingRate(QuicTime now, QuicBandwidth draining_rate); QuicBandwidth 42 net/quic/congestion_control/leaky_bucket.h QuicBandwidth draining_rate_; QuicBandwidth 17 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_.reset(new LeakyBucket(QuicBandwidth::Zero())); QuicBandwidth 24 net/quic/congestion_control/leaky_bucket_test.cc QuicBandwidth draining_rate = QuicBandwidth::FromBytesPerSecond(200000); QuicBandwidth 57 net/quic/congestion_control/leaky_bucket_test.cc QuicBandwidth draining_rate = QuicBandwidth::FromBytesPerSecond(200000); QuicBandwidth 21 net/quic/congestion_control/paced_sender.cc PacedSender::PacedSender(QuicBandwidth estimate, QuicByteCount max_segment_size) QuicBandwidth 28 net/quic/congestion_control/paced_sender.cc QuicBandwidth estimate) { QuicBandwidth 20 net/quic/congestion_control/paced_sender.h PacedSender(QuicBandwidth bandwidth_estimate, QuicByteCount max_segment_size); QuicBandwidth 23 net/quic/congestion_control/paced_sender.h void UpdateBandwidthEstimate(QuicTime now, QuicBandwidth bandwidth_estimate); QuicBandwidth 34 net/quic/congestion_control/paced_sender.h QuicBandwidth pace_; QuicBandwidth 23 net/quic/congestion_control/paced_sender_test.cc QuicBandwidth::FromKBytesPerSecond(kHundredKBytesPerS), QuicBandwidth 34 net/quic/congestion_control/paced_sender_test.cc QuicBandwidth::FromKBytesPerSecond(kHundredKBytesPerS * 10)); QuicBandwidth 48 net/quic/congestion_control/paced_sender_test.cc QuicBandwidth::FromKBytesPerSecond(kHundredKBytesPerS)); QuicBandwidth 61 net/quic/congestion_control/paced_sender_test.cc QuicBandwidth bandwidth_estimate = QuicBandwidth::FromKBytesPerSecond( QuicBandwidth 116 net/quic/congestion_control/pacing_sender.cc QuicBandwidth PacingSender::BandwidthEstimate() const { QuicBandwidth 51 net/quic/congestion_control/pacing_sender.h virtual QuicBandwidth BandwidthEstimate() const OVERRIDE; QuicBandwidth 117 net/quic/congestion_control/pacing_sender_test.cc .WillRepeatedly(Return(QuicBandwidth::FromBytesAndTimeDelta( QuicBandwidth 76 net/quic/congestion_control/send_algorithm_interface.h virtual QuicBandwidth BandwidthEstimate() const = 0; QuicBandwidth 201 net/quic/congestion_control/tcp_cubic_sender.cc QuicBandwidth TcpCubicSender::BandwidthEstimate() const { QuicBandwidth 202 net/quic/congestion_control/tcp_cubic_sender.cc return QuicBandwidth::FromBytesAndTimeDelta(GetCongestionWindow(), QuicBandwidth 64 net/quic/congestion_control/tcp_cubic_sender.h virtual QuicBandwidth BandwidthEstimate() const OVERRIDE; QuicBandwidth 16 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::Zero() { QuicBandwidth 17 net/quic/quic_bandwidth.cc return QuicBandwidth(0); QuicBandwidth 21 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::FromBitsPerSecond(int64 bits_per_second) { QuicBandwidth 22 net/quic/quic_bandwidth.cc return QuicBandwidth(bits_per_second); QuicBandwidth 26 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::FromKBitsPerSecond(int64 k_bits_per_second) { QuicBandwidth 28 net/quic/quic_bandwidth.cc return QuicBandwidth(k_bits_per_second * 1000); QuicBandwidth 32 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::FromBytesPerSecond(int64 bytes_per_second) { QuicBandwidth 34 net/quic/quic_bandwidth.cc return QuicBandwidth(bytes_per_second * 8); QuicBandwidth 38 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::FromKBytesPerSecond(int64 k_bytes_per_second) { QuicBandwidth 40 net/quic/quic_bandwidth.cc return QuicBandwidth(k_bytes_per_second * 8000); QuicBandwidth 44 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::FromBytesAndTimeDelta(QuicByteCount bytes, QuicBandwidth 51 net/quic/quic_bandwidth.cc return QuicBandwidth(bytes_per_second * 8); QuicBandwidth 54 net/quic/quic_bandwidth.cc QuicBandwidth::QuicBandwidth(int64 bits_per_second) QuicBandwidth 59 net/quic/quic_bandwidth.cc int64 QuicBandwidth::ToBitsPerSecond() const { QuicBandwidth 63 net/quic/quic_bandwidth.cc int64 QuicBandwidth::ToKBitsPerSecond() const { QuicBandwidth 67 net/quic/quic_bandwidth.cc int64 QuicBandwidth::ToBytesPerSecond() const { QuicBandwidth 71 net/quic/quic_bandwidth.cc int64 QuicBandwidth::ToKBytesPerSecond() const { QuicBandwidth 75 net/quic/quic_bandwidth.cc QuicByteCount QuicBandwidth::ToBytesPerPeriod( QuicBandwidth 81 net/quic/quic_bandwidth.cc int64 QuicBandwidth::ToKBytesPerPeriod(QuicTime::Delta time_period) const { QuicBandwidth 86 net/quic/quic_bandwidth.cc bool QuicBandwidth::IsZero() const { QuicBandwidth 90 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::Add(const QuicBandwidth& delta) const { QuicBandwidth 91 net/quic/quic_bandwidth.cc return QuicBandwidth(bits_per_second_ + delta.bits_per_second_); QuicBandwidth 94 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::Subtract(const QuicBandwidth& delta) const { QuicBandwidth 95 net/quic/quic_bandwidth.cc return QuicBandwidth(bits_per_second_ - delta.bits_per_second_); QuicBandwidth 98 net/quic/quic_bandwidth.cc QuicBandwidth QuicBandwidth::Scale(float scale_factor) const { QuicBandwidth 99 net/quic/quic_bandwidth.cc return QuicBandwidth(bits_per_second_ * scale_factor); QuicBandwidth 102 net/quic/quic_bandwidth.cc QuicTime::Delta QuicBandwidth::TransferTime(QuicByteCount bytes) const { QuicBandwidth 17 net/quic/quic_bandwidth.h class NET_EXPORT_PRIVATE QuicBandwidth { QuicBandwidth 20 net/quic/quic_bandwidth.h static QuicBandwidth Zero(); QuicBandwidth 23 net/quic/quic_bandwidth.h static QuicBandwidth FromBitsPerSecond(int64 bits_per_second); QuicBandwidth 26 net/quic/quic_bandwidth.h static QuicBandwidth FromKBitsPerSecond(int64 k_bits_per_second); QuicBandwidth 29 net/quic/quic_bandwidth.h static QuicBandwidth FromBytesPerSecond(int64 bytes_per_second); QuicBandwidth 32 net/quic/quic_bandwidth.h static QuicBandwidth FromKBytesPerSecond(int64 k_bytes_per_second); QuicBandwidth 35 net/quic/quic_bandwidth.h static QuicBandwidth FromBytesAndTimeDelta(QuicByteCount bytes, QuicBandwidth 52 net/quic/quic_bandwidth.h QuicBandwidth Add(const QuicBandwidth& delta) const; QuicBandwidth 54 net/quic/quic_bandwidth.h QuicBandwidth Subtract(const QuicBandwidth& delta) const; QuicBandwidth 56 net/quic/quic_bandwidth.h QuicBandwidth Scale(float scale_factor) const; QuicBandwidth 61 net/quic/quic_bandwidth.h explicit QuicBandwidth(int64 bits_per_second); QuicBandwidth 66 net/quic/quic_bandwidth.h inline bool operator==(QuicBandwidth lhs, QuicBandwidth rhs) { QuicBandwidth 69 net/quic/quic_bandwidth.h inline bool operator!=(QuicBandwidth lhs, QuicBandwidth rhs) { QuicBandwidth 72 net/quic/quic_bandwidth.h inline bool operator<(QuicBandwidth lhs, QuicBandwidth rhs) { QuicBandwidth 75 net/quic/quic_bandwidth.h inline bool operator>(QuicBandwidth lhs, QuicBandwidth rhs) { QuicBandwidth 78 net/quic/quic_bandwidth.h inline bool operator<=(QuicBandwidth lhs, QuicBandwidth rhs) { QuicBandwidth 81 net/quic/quic_bandwidth.h inline bool operator>=(QuicBandwidth lhs, QuicBandwidth rhs) { QuicBandwidth 15 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromKBitsPerSecond(1), QuicBandwidth 16 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromBitsPerSecond(1000)); QuicBandwidth 17 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromKBytesPerSecond(1), QuicBandwidth 18 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromBytesPerSecond(1000)); QuicBandwidth 19 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromBitsPerSecond(8000), QuicBandwidth 20 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromBytesPerSecond(1000)); QuicBandwidth 21 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromKBitsPerSecond(8), QuicBandwidth 22 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromKBytesPerSecond(1)); QuicBandwidth 24 net/quic/quic_bandwidth_test.cc EXPECT_EQ(0, QuicBandwidth::Zero().ToBitsPerSecond()); QuicBandwidth 25 net/quic/quic_bandwidth_test.cc EXPECT_EQ(0, QuicBandwidth::Zero().ToKBitsPerSecond()); QuicBandwidth 26 net/quic/quic_bandwidth_test.cc EXPECT_EQ(0, QuicBandwidth::Zero().ToBytesPerSecond()); QuicBandwidth 27 net/quic/quic_bandwidth_test.cc EXPECT_EQ(0, QuicBandwidth::Zero().ToKBytesPerSecond()); QuicBandwidth 29 net/quic/quic_bandwidth_test.cc EXPECT_EQ(1, QuicBandwidth::FromBitsPerSecond(1000).ToKBitsPerSecond()); QuicBandwidth 30 net/quic/quic_bandwidth_test.cc EXPECT_EQ(1000, QuicBandwidth::FromKBitsPerSecond(1).ToBitsPerSecond()); QuicBandwidth 31 net/quic/quic_bandwidth_test.cc EXPECT_EQ(1, QuicBandwidth::FromBytesPerSecond(1000).ToKBytesPerSecond()); QuicBandwidth 32 net/quic/quic_bandwidth_test.cc EXPECT_EQ(1000, QuicBandwidth::FromKBytesPerSecond(1).ToBytesPerSecond()); QuicBandwidth 36 net/quic/quic_bandwidth_test.cc QuicBandwidth bandwidht_1 = QuicBandwidth::FromKBitsPerSecond(1); QuicBandwidth 37 net/quic/quic_bandwidth_test.cc QuicBandwidth bandwidht_2 = QuicBandwidth::FromKBytesPerSecond(1); QuicBandwidth 44 net/quic/quic_bandwidth_test.cc QuicBandwidth bandwidht_1 = QuicBandwidth::FromKBitsPerSecond(1); QuicBandwidth 45 net/quic/quic_bandwidth_test.cc QuicBandwidth bandwidht_2 = QuicBandwidth::FromKBytesPerSecond(1); QuicBandwidth 51 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromKBytesPerSecond(1000), QuicBandwidth 52 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromBytesAndTimeDelta( QuicBandwidth 55 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromKBytesPerSecond(10), QuicBandwidth 56 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromBytesAndTimeDelta( QuicBandwidth 61 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromKBytesPerSecond(500), QuicBandwidth 62 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromKBytesPerSecond(1000).Scale(0.5f)); QuicBandwidth 63 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromKBytesPerSecond(750), QuicBandwidth 64 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromKBytesPerSecond(1000).Scale(0.75f)); QuicBandwidth 65 net/quic/quic_bandwidth_test.cc EXPECT_EQ(QuicBandwidth::FromKBytesPerSecond(1250), QuicBandwidth 66 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromKBytesPerSecond(1000).Scale(1.25f)); QuicBandwidth 71 net/quic/quic_bandwidth_test.cc EXPECT_EQ(2000u, QuicBandwidth::FromKBytesPerSecond(2000).ToBytesPerPeriod( QuicBandwidth 73 net/quic/quic_bandwidth_test.cc EXPECT_EQ(2u, QuicBandwidth::FromKBytesPerSecond(2000).ToKBytesPerPeriod( QuicBandwidth 75 net/quic/quic_bandwidth_test.cc EXPECT_EQ(200000u, QuicBandwidth::FromKBytesPerSecond(2000).ToBytesPerPeriod( QuicBandwidth 77 net/quic/quic_bandwidth_test.cc EXPECT_EQ(200u, QuicBandwidth::FromKBytesPerSecond(2000).ToKBytesPerPeriod( QuicBandwidth 83 net/quic/quic_bandwidth_test.cc QuicBandwidth::FromKBytesPerSecond(1).TransferTime(1000)); QuicBandwidth 573 net/quic/quic_connection_test.cc QuicBandwidth::FromKBitsPerSecond(100))); QuicBandwidth 1287 net/quic/quic_connection_test.cc QuicBandwidth::FromKBitsPerSecond(1000))); QuicBandwidth 1298 net/quic/quic_connection_test.cc QuicBandwidth::FromKBitsPerSecond(1000 * 256))); QuicBandwidth 1310 net/quic/quic_connection_test.cc QuicBandwidth::FromKBitsPerSecond(1000 * 256 * 256))); QuicBandwidth 1320 net/quic/quic_connection_test.cc QuicBandwidth::FromKBitsPerSecond(1000ll * 256 * 256 * 256))); QuicBandwidth 1330 net/quic/quic_connection_test.cc QuicBandwidth::FromKBitsPerSecond(1000ll * 256 * 256 * 256 * 256))); QuicBandwidth 2538 net/quic/quic_connection_test.cc info.fix_rate.bitrate = QuicBandwidth::FromBytesPerSecond(123); QuicBandwidth 3441 net/quic/quic_connection_test.cc Return(QuicBandwidth::Zero())); QuicBandwidth 3467 net/quic/quic_connection_test.cc Return(QuicBandwidth::Zero())); QuicBandwidth 1560 net/quic/quic_framer.cc frame->fix_rate.bitrate = QuicBandwidth::FromBytesPerSecond(bitrate); QuicBandwidth 4555 net/quic/quic_framer_test.cc = QuicBandwidth::FromBytesPerSecond(0x04030201); QuicBandwidth 193 net/quic/quic_http_stream_test.cc Return(QuicBandwidth::Zero())); QuicBandwidth 137 net/quic/quic_packet_generator_test.cc frame->fix_rate.bitrate = QuicBandwidth::FromBytesPerSecond(42); QuicBandwidth 519 net/quic/quic_protocol.cc : bitrate(QuicBandwidth::Zero()) { QuicBandwidth 702 net/quic/quic_protocol.h QuicBandwidth bitrate; QuicBandwidth 720 net/quic/quic_sent_packet_manager.cc QuicBandwidth QuicSentPacketManager::BandwidthEstimate() const { QuicBandwidth 153 net/quic/quic_sent_packet_manager.h QuicBandwidth BandwidthEstimate() const; QuicBandwidth 471 net/quic/test_tools/quic_test_utils.h MOCK_CONST_METHOD0(BandwidthEstimate, QuicBandwidth(void)); QuicBandwidth 621 net/tools/quic/end_to_end_test.cc QuicBandwidth::FromBytesPerSecond(256 * 1024), 128 * 1024); QuicBandwidth 57 net/tools/quic/test_tools/packet_dropping_test_writer.cc fake_bandwidth_(QuicBandwidth::Zero()), QuicBandwidth 98 net/tools/quic/test_tools/packet_dropping_test_writer.h void set_max_bandwidth_and_buffer_size(QuicBandwidth fake_bandwidth, QuicBandwidth 147 net/tools/quic/test_tools/packet_dropping_test_writer.h QuicBandwidth fake_bandwidth_;