/external/chromium_org/net/quic/congestion_control/ |
D | rtt_stats.cc | 48 std::abs(smoothed_rtt_.Subtract(latest_rtt_).ToMicroseconds()))); in ExpireSmoothedMetrics() 72 DCHECK_LT(0, rtt_sample.ToMicroseconds()); in UpdateRtt() 84 rtt_sample.ToMicroseconds() / 2); in UpdateRtt() 87 kOneMinusBeta * mean_deviation_.ToMicroseconds() + in UpdateRtt() 88 kBeta * std::abs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds())); in UpdateRtt() 91 DVLOG(1) << " smoothed_rtt(us):" << smoothed_rtt_.ToMicroseconds() in UpdateRtt() 92 << " mean_deviation(us):" << mean_deviation_.ToMicroseconds(); in UpdateRtt()
|
D | hybrid_slow_start.cc | 92 if (current_time.Subtract(last_close_ack_pair_time_).ToMicroseconds() <= in ShouldExitSlowStart() 95 if (current_time.Subtract(round_start_).ToMicroseconds() >= in ShouldExitSlowStart() 96 min_rtt.ToMicroseconds() >> 1) { in ShouldExitSlowStart() 119 int min_rtt_increase_threshold_us = min_rtt.ToMicroseconds() >> in ShouldExitSlowStart()
|
D | send_algorithm_simulator.cc | 99 << ack_event.time_delta.ToMicroseconds() << "us"; in TransferBytes() 106 << send_event.time_delta.ToMicroseconds() << "us"; in TransferBytes() 291 DCHECK_GE(measured_rtt.ToMicroseconds(), rtt_.ToMicroseconds()); in HandlePendingAck()
|
D | tcp_cubic_sender.cc | 215 rtt_stats_->SmoothedRtt().ToMicroseconds() + in RetransmissionDelay() 216 4 * rtt_stats_->mean_deviation().ToMicroseconds()); in RetransmissionDelay()
|
D | pacing_sender_test.cc | 94 EXPECT_EQ(delay.ToMicroseconds(), in CheckPacketIsDelayed() 97 HAS_RETRANSMITTABLE_DATA).ToMicroseconds()); in CheckPacketIsDelayed()
|
D | cubic.cc | 141 (current_time.Add(delay_min).Subtract(epoch_).ToMicroseconds() << 10) / in CongestionWindowAfterAck()
|
D | pacing_sender.cc | 144 << next_packet_send_time_.Subtract(now).ToMicroseconds(); in TimeUntilSend()
|
D | tcp_cubic_sender_test.cc | 469 sender_->rtt_stats_.SmoothedRtt().ToMicroseconds()), in TEST_F()
|
/external/chromium_org/net/tools/quic/ |
D | quic_epoll_clock_test.cc | 20 clock.ApproximateNow().Subtract(QuicTime::Zero()).ToMicroseconds()); in TEST() 24 clock.ApproximateNow().Subtract(QuicTime::Zero()).ToMicroseconds()); in TEST() 33 clock.Now().Subtract(QuicTime::Zero()).ToMicroseconds()); in TEST() 37 clock.Now().Subtract(QuicTime::Zero()).ToMicroseconds()); in TEST()
|
D | quic_epoll_connection_helper_test.cc | 46 epoll_server_.AdvanceBy(delta.ToMicroseconds()); in TEST_F() 65 epoll_server_.AdvanceByAndCallCallbacks(delta.ToMicroseconds()); in TEST_F() 79 epoll_server_.AdvanceByExactlyAndCallCallbacks(delta.ToMicroseconds()); in TEST_F() 96 epoll_server_.AdvanceByExactlyAndCallCallbacks(delta.ToMicroseconds()); in TEST_F() 101 new_delta.Subtract(delta).ToMicroseconds()); in TEST_F() 118 epoll_server_.AdvanceByExactlyAndCallCallbacks(delta.ToMicroseconds()); in TEST_F() 127 new_delta.Subtract(delta).ToMicroseconds()); in TEST_F()
|
D | quic_time_wait_list_manager_test.cc | 288 epoll_server_.set_now_in_usec(time_wait_period.ToMicroseconds()); in TEST_F() 297 epoll_server_.set_now_in_usec(time_wait_period.Add(offset).ToMicroseconds()); in TEST_F() 301 time_wait_period.Subtract(offset).ToMicroseconds(); in TEST_F() 422 epoll_server_.set_now_in_usec(time_wait_period.Add(offset).ToMicroseconds()); in TEST_F() 425 time_wait_period.ToMicroseconds(); in TEST_F() 450 epoll_server_.set_now_in_usec(time_wait_period.ToMicroseconds() + 1); in TEST_F()
|
D | quic_epoll_connection_helper.cc | 34 deadline().Subtract(QuicTime::Zero()).ToMicroseconds(), in SetImpl()
|
D | quic_time_wait_list_manager.cc | 260 .ToMicroseconds(); in SetConnectionIdCleanUpAlarm() 267 next_alarm_interval = kTimeWaitPeriod_.ToMicroseconds(); in SetConnectionIdCleanUpAlarm()
|
/external/chromium_org/net/quic/ |
D | quic_time.cc | 51 int64 QuicTime::Delta::ToMicroseconds() const { in ToMicroseconds() function in net::QuicTime::Delta 56 return QuicTime::Delta::FromMicroseconds(ToMicroseconds() + in Add() 57 delta.ToMicroseconds()); in Add() 61 return QuicTime::Delta::FromMicroseconds(ToMicroseconds() - in Subtract() 62 delta.ToMicroseconds()); in Subtract() 66 return QuicTime::Delta::FromMicroseconds(ToMicroseconds() * i); in Multiply() 70 return QuicTime::Delta::FromMicroseconds(ToMicroseconds() * d); in Multiply()
|
D | quic_time.h | 55 int64 ToMicroseconds() const; 157 return lhs.ToMicroseconds() == rhs.ToMicroseconds(); 163 return lhs.ToMicroseconds() < rhs.ToMicroseconds();
|
D | quic_bandwidth.cc | 50 delta.ToMicroseconds(); in FromBytesAndTimeDelta() 77 return ToBytesPerSecond() * time_period.ToMicroseconds() / in ToBytesPerPeriod() 82 return ToKBytesPerSecond() * time_period.ToMicroseconds() / in ToKBytesPerPeriod()
|
D | quic_connection_helper_test.cc | 62 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F() 80 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F() 100 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F() 158 EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.ToMicroseconds()), in TEST_F() 172 new_delta.Subtract(delta).ToMicroseconds()), in TEST_F()
|
D | quic_time_test.cc | 34 EXPECT_EQ(1000, QuicTime::Delta::FromMilliseconds(1).ToMicroseconds()); in TEST() 36 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(2000).ToMicroseconds(), in TEST() 37 QuicTime::Delta::FromSeconds(2).ToMicroseconds()); in TEST() 93 EXPECT_EQ(1000, diff.ToMicroseconds()); in TEST_F()
|
D | quic_alarm.cc | 35 if (std::abs(deadline.Subtract(deadline_).ToMicroseconds()) < in Update() 36 granularity.ToMicroseconds()) { in Update()
|
D | quic_connection_helper.cc | 46 int64 delay_us = deadline().Subtract(clock_->Now()).ToMicroseconds(); in SetImpl()
|
D | quic_framer.cc | 814 uint64 epoch = last_timestamp_.ToMicroseconds() & ~(epoch_delta - 1); in CalculateTimestampFromWire() 819 uint64 time = ClosestTo(last_timestamp_.ToMicroseconds(), in CalculateTimestampFromWire() 821 ClosestTo(last_timestamp_.ToMicroseconds(), in CalculateTimestampFromWire() 2065 DCHECK_LE(0u, frame.delta_time_largest_observed.ToMicroseconds()); in AppendAckFrameAndTypeByte() 2067 frame.delta_time_largest_observed.ToMicroseconds(); in AppendAckFrameAndTypeByte() 2195 static_cast<uint32>(it->second.Subtract(creation_time_).ToMicroseconds() in AppendTimestampToAckFrame() 2216 uint64 time_delta_us = it->second.Subtract(prev_time).ToMicroseconds(); in AppendTimestampToAckFrame()
|
D | quic_received_packet_manager.cc | 171 receipt_time.Subtract(time_largest_observed_).ToMicroseconds(); in RecordPacketReceived()
|
D | quic_connection.cc | 1084 sent_packet_manager_.GetRttStats()->min_rtt().ToMicroseconds(); in GetStats() 1086 sent_packet_manager_.GetRttStats()->SmoothedRtt().ToMicroseconds(); in GetStats() 1925 << " delta:" << delta.ToMicroseconds() in CheckForTimeout() 1926 << " network_timeout: " << idle_network_timeout_.ToMicroseconds(); in CheckForTimeout()
|
D | quic_protocol.cc | 383 << ack_frame.delta_time_largest_observed.ToMicroseconds() in operator <<()
|
/external/chromium_org/net/quic/test_tools/ |
D | mock_clock.cc | 35 now_.Subtract(QuicTime::Zero()).ToMicroseconds()); in NowInTicks()
|