Home
last modified time | relevance | path

Searched refs:Delta (Results 1 – 25 of 176) sorted by relevance

12345678

/external/chromium_org/net/quic/congestion_control/
Drtt_stats_test.cc15 static QuicTime::Delta GetHalfWindowRtt(const RttStats* rtt_stats) { in GetHalfWindowRtt()
19 static QuicTime::Delta GetQuarterWindowRtt(const RttStats* rtt_stats) { in GetQuarterWindowRtt()
30 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(100), in TEST_F()
31 QuicTime::Delta::Zero(), in TEST_F()
33 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(100), rtt_stats_.min_rtt()); in TEST_F()
34 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(100), in TEST_F()
36 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(10), in TEST_F()
37 QuicTime::Delta::Zero(), in TEST_F()
39 QuicTime::Delta::FromMilliseconds(10))); in TEST_F()
40 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), rtt_stats_.min_rtt()); in TEST_F()
[all …]
Dpacing_sender_test.cc26 : zero_time_(QuicTime::Delta::Zero()), in PacingSenderTest()
27 infinite_time_(QuicTime::Delta::Infinite()), in PacingSenderTest()
31 QuicTime::Delta::FromMilliseconds(1), in PacingSenderTest()
34 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(9)); in PacingSenderTest()
85 void CheckPacketIsDelayed(QuicTime::Delta delay) { in CheckPacketIsDelayed()
101 const QuicTime::Delta zero_time_;
102 const QuicTime::Delta infinite_time_;
143 kMaxPacketSize, QuicTime::Delta::FromMilliseconds(2)))); in TEST_F()
161 CheckPacketIsDelayed(QuicTime::Delta::FromMilliseconds(2)); in TEST_F()
164 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(2)); in TEST_F()
[all …]
Drtt_stats.h31 void UpdateRtt(QuicTime::Delta send_delta,
32 QuicTime::Delta ack_delay,
44 QuicTime::Delta SmoothedRtt() const;
55 QuicTime::Delta latest_rtt() const { in latest_rtt()
60 QuicTime::Delta min_rtt() const { in min_rtt()
66 QuicTime::Delta recent_min_rtt() const { in recent_min_rtt()
70 QuicTime::Delta mean_deviation() const { in mean_deviation()
75 void set_recent_min_rtt_window(QuicTime::Delta recent_min_rtt_window) { in set_recent_min_rtt_window()
84 RttSample() : rtt(QuicTime::Delta::Zero()), time(QuicTime::Zero()) { } in RttSample()
85 RttSample(QuicTime::Delta rtt, QuicTime time) : rtt(rtt), time(time) { } in RttSample()
[all …]
Dleaky_bucket_test.cc28 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), in TEST_F()
30 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); in TEST_F()
32 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(5), in TEST_F()
34 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); in TEST_F()
37 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); in TEST_F()
41 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(11)); in TEST_F()
45 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); in TEST_F()
47 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); in TEST_F()
49 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), in TEST_F()
51 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(10)); in TEST_F()
[all …]
Drtt_stats.cc27 : latest_rtt_(QuicTime::Delta::Zero()), in RttStats()
28 min_rtt_(QuicTime::Delta::Zero()), in RttStats()
29 smoothed_rtt_(QuicTime::Delta::Zero()), in RttStats()
30 mean_deviation_(QuicTime::Delta::Zero()), in RttStats()
33 recent_min_rtt_window_(QuicTime::Delta::Infinite()) {} in RttStats()
47 QuicTime::Delta::FromMicroseconds( in ExpireSmoothedMetrics()
53 void RttStats::UpdateRtt(QuicTime::Delta send_delta, in UpdateRtt()
54 QuicTime::Delta ack_delay, in UpdateRtt()
56 QuicTime::Delta rtt_sample(QuicTime::Delta::Zero()); in UpdateRtt()
83 mean_deviation_ = QuicTime::Delta::FromMicroseconds( in UpdateRtt()
[all …]
Dsend_algorithm_simulator.cc44 QuicTime::Delta rtt) in SendAlgorithmSimulator()
53 delayed_ack_timer_(QuicTime::Delta::FromMilliseconds(100)) { in SendAlgorithmSimulator()
73 TransferBytes(kuint64max, QuicTime::Delta::Infinite()); in TransferBytes()
77 QuicTime::Delta max_time) { in TransferBytes()
79 QuicTime::Zero().Add(QuicTime::Delta::Infinite()) : in TransferBytes()
94 clock_->AdvanceTime(QuicTime::Delta::FromMilliseconds(100)); in TransferBytes()
115 QuicTime::Delta next_send_time = QuicTime::Delta::Infinite(); in NextSendEvent()
124 QuicTime::Delta transfer_send_time = it->start_time.Subtract(clock_->Now()); in NextSendEvent()
146 return PacketEvent(QuicTime::Delta::Infinite(), NULL); in NextAckEvent()
150 QuicTime::Delta ack_time = QuicTime::Delta::Infinite(); in NextAckEvent()
[all …]
Dsend_algorithm_simulator.h119 QuicTime::Delta rtt);
145 void set_delayed_ack_timer(QuicTime::Delta delayed_ack_timer) { in set_delayed_ack_timer()
150 void AdvanceTime(QuicTime::Delta delta);
165 void TransferBytes(QuicByteCount max_bytes, QuicTime::Delta max_time);
170 PacketEvent(QuicTime::Delta time_delta, Transfer* transfer) in PacketEvent()
174 QuicTime::Delta time_delta;
187 QuicTime::Delta FindNextAcked(Transfer* transfer);
192 QuicTime::Delta FindNextAck(const Transfer* transfer,
222 QuicTime::Delta rtt_;
224 QuicTime::Delta delayed_ack_timer_;
Dleaky_bucket.cc27 QuicTime::Delta LeakyBucket::TimeRemaining(QuicTime now) const { in TimeRemaining()
28 QuicTime::Delta time_since_last_update = now.Subtract(time_last_updated_); in TimeRemaining()
29 QuicTime::Delta send_delay = QuicTime::Delta::FromMicroseconds( in TimeRemaining()
33 return QuicTime::Delta::Zero(); in TimeRemaining()
44 QuicTime::Delta elapsed_time = now.Subtract(time_last_updated_); in Update()
Dtcp_cubic_sender.cc179 QuicTime::Delta TcpCubicSender::TimeUntilSend( in TimeUntilSend()
185 return QuicTime::Delta::Zero(); in TimeUntilSend()
191 return QuicTime::Delta::Zero(); in TimeUntilSend()
193 return QuicTime::Delta::Infinite(); in TimeUntilSend()
210 QuicTime::Delta TcpCubicSender::RetransmissionDelay() const { in RetransmissionDelay()
212 return QuicTime::Delta::Zero(); in RetransmissionDelay()
214 return QuicTime::Delta::FromMicroseconds( in RetransmissionDelay()
331 QuicTime::Delta TcpCubicSender::PrrTimeUntilSend( in PrrTimeUntilSend()
336 return QuicTime::Delta::Zero(); in PrrTimeUntilSend()
344 return QuicTime::Delta::Infinite(); in PrrTimeUntilSend()
[all …]
Dhybrid_slow_start_test.cc17 : one_ms_(QuicTime::Delta::FromMilliseconds(1)), in HybridSlowStartTest()
18 rtt_(QuicTime::Delta::FromMilliseconds(60)) { in HybridSlowStartTest()
23 const QuicTime::Delta one_ms_;
24 const QuicTime::Delta rtt_;
93 rtt_.Add(QuicTime::Delta::FromMilliseconds(n)), rtt_, 100)); in TEST_F()
98 rtt_.Add(QuicTime::Delta::FromMilliseconds(n + 5)), rtt_, 100)); in TEST_F()
103 rtt_.Add(QuicTime::Delta::FromMilliseconds(5)), rtt_, 100)); in TEST_F()
/external/chromium_org/net/quic/
Dquic_time_test.cc13 EXPECT_TRUE(QuicTime::Delta::Zero().IsZero()); in TEST()
14 EXPECT_FALSE(QuicTime::Delta::Zero().IsInfinite()); in TEST()
15 EXPECT_FALSE(QuicTime::Delta::FromMilliseconds(1).IsZero()); in TEST()
19 EXPECT_TRUE(QuicTime::Delta::Infinite().IsInfinite()); in TEST()
20 EXPECT_FALSE(QuicTime::Delta::Zero().IsInfinite()); in TEST()
21 EXPECT_FALSE(QuicTime::Delta::FromMilliseconds(1).IsInfinite()); in TEST()
25 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(1), in TEST()
26 QuicTime::Delta::FromMicroseconds(1000)); in TEST()
27 EXPECT_EQ(QuicTime::Delta::FromSeconds(1), in TEST()
28 QuicTime::Delta::FromMilliseconds(1000)); in TEST()
[all …]
Dquic_time.cc14 QuicTime::Delta::Delta(base::TimeDelta delta) in Delta() function in net::QuicTime::Delta
19 QuicTime::Delta QuicTime::Delta::Zero() { in Zero()
20 return QuicTime::Delta::FromMicroseconds(0); in Zero()
24 QuicTime::Delta QuicTime::Delta::Infinite() { in Infinite()
25 return QuicTime::Delta::FromMicroseconds(kQuicInfiniteTimeUs); in Infinite()
29 QuicTime::Delta QuicTime::Delta::FromSeconds(int64 seconds) { in FromSeconds()
30 return QuicTime::Delta(base::TimeDelta::FromSeconds(seconds)); in FromSeconds()
34 QuicTime::Delta QuicTime::Delta::FromMilliseconds(int64 ms) { in FromMilliseconds()
35 return QuicTime::Delta(base::TimeDelta::FromMilliseconds(ms)); in FromMilliseconds()
39 QuicTime::Delta QuicTime::Delta::FromMicroseconds(int64 us) { in FromMicroseconds()
[all …]
Dquic_time.h29 class NET_EXPORT_PRIVATE Delta {
31 explicit Delta(base::TimeDelta delta);
34 static Delta Zero();
37 static Delta Infinite();
40 static Delta FromSeconds(int64 secs);
43 static Delta FromMilliseconds(int64 ms);
46 static Delta FromMicroseconds(int64 us);
57 Delta Add(const Delta& delta) const;
59 Delta Subtract(const Delta& delta) const;
61 Delta Multiply(int i) const;
[all …]
Dquic_connection_helper_test.cc57 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
74 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
92 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
95 QuicTime::Delta new_delta = QuicTime::Delta::FromMicroseconds(3); in TEST_F()
119 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(3); in TEST_F()
122 QuicTime::Delta new_delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
150 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
152 QuicTime::Delta new_delta = QuicTime::Delta::FromMicroseconds(3); in TEST_F()
154 QuicTime::Delta::FromMicroseconds(1)); in TEST_F()
167 QuicTime::Delta::FromMicroseconds(2)); in TEST_F()
[all …]
Dquic_ack_notifier_test.cc19 QuicAckNotifierTest() : zero_(QuicTime::Delta::Zero()) {} in QuicAckNotifierTest()
32 QuicTime::Delta zero_;
66 const QuicTime::Delta first_delta = QuicTime::Delta::FromSeconds(5); in TEST_F()
67 const QuicTime::Delta second_delta = QuicTime::Delta::FromSeconds(33); in TEST_F()
68 const QuicTime::Delta third_delta = QuicTime::Delta::FromSeconds(10); in TEST_F()
Dquic_sent_packet_manager_test.cc54 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1000)); in QuicSentPacketManagerTest()
349 QuicTime::Delta rtt = QuicTime::Delta::FromMilliseconds(15); in TEST_F()
373 QuicTime::Delta rtt = QuicTime::Delta::FromMilliseconds(15); in TEST_F()
398 QuicTime::Delta rtt = QuicTime::Delta::FromMilliseconds(15); in TEST_F()
477 QuicTime::Delta rtt = QuicTime::Delta::FromMilliseconds(15); in TEST_F()
701 QuicTime sent_time = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(1)); in TEST_F()
726 QuicTime::Delta::FromMilliseconds(5); in TEST_F()
741 QuicTime::Delta expected_rtt = QuicTime::Delta::FromMilliseconds(15); in TEST_F()
743 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(20)); in TEST_F()
749 QuicTime::Delta::FromMilliseconds(5); in TEST_F()
[all …]
Dquic_alarm_test.cc54 deadline_(QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7))), in QuicAlarmTest()
55 deadline2_(QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(14))), in QuicAlarmTest()
75 QuicTime deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7)); in TEST_F()
83 QuicTime deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7)); in TEST_F()
92 QuicTime deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7)); in TEST_F()
94 QuicTime new_deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(8)); in TEST_F()
95 alarm_.Update(new_deadline, QuicTime::Delta::Zero()); in TEST_F()
102 QuicTime deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7)); in TEST_F()
104 alarm_.Update(QuicTime::Zero(), QuicTime::Delta::Zero()); in TEST_F()
111 QuicTime deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7)); in TEST_F()
Dquic_bandwidth_test.cc53 1000, QuicTime::Delta::FromMilliseconds(1))); in TEST_F()
57 1000, QuicTime::Delta::FromMilliseconds(100))); in TEST_F()
72 QuicTime::Delta::FromMilliseconds(1))); in TEST_F()
74 QuicTime::Delta::FromMilliseconds(1))); in TEST_F()
76 QuicTime::Delta::FromMilliseconds(100))); in TEST_F()
78 QuicTime::Delta::FromMilliseconds(100))); in TEST_F()
82 EXPECT_EQ(QuicTime::Delta::FromSeconds(1), in TEST_F()
/external/chromium_org/net/tools/quic/
Dquic_epoll_connection_helper_test.cc45 QuicTime::Delta delta = QuicTime::Delta::FromMilliseconds(5); in TEST_F()
62 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
75 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
90 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
93 QuicTime::Delta new_delta = QuicTime::Delta::FromMicroseconds(3); in TEST_F()
112 QuicTime::Delta delta = QuicTime::Delta::FromMicroseconds(1); in TEST_F()
114 QuicTime::Delta new_delta = QuicTime::Delta::FromMicroseconds(3); in TEST_F()
116 QuicTime::Delta::FromMicroseconds(1)); in TEST_F()
124 QuicTime::Delta::FromMicroseconds(2)); in TEST_F()
132 new_delta = QuicTime::Delta::FromMicroseconds(5); in TEST_F()
[all …]
/external/libvpx/libvpx/vp8/common/
Dquant_common.c39 int vp8_dc_quant(int QIndex, int Delta) in vp8_dc_quant() argument
43 QIndex = QIndex + Delta; in vp8_dc_quant()
54 int vp8_dc2quant(int QIndex, int Delta) in vp8_dc2quant() argument
58 QIndex = QIndex + Delta; in vp8_dc2quant()
69 int vp8_dc_uv_quant(int QIndex, int Delta) in vp8_dc_uv_quant() argument
73 QIndex = QIndex + Delta; in vp8_dc_uv_quant()
101 int vp8_ac2quant(int QIndex, int Delta) in vp8_ac2quant() argument
105 QIndex = QIndex + Delta; in vp8_ac2quant()
122 int vp8_ac_uv_quant(int QIndex, int Delta) in vp8_ac_uv_quant() argument
126 QIndex = QIndex + Delta; in vp8_ac_uv_quant()
Dquant_common.h24 extern int vp8_dc_quant(int QIndex, int Delta);
25 extern int vp8_dc2quant(int QIndex, int Delta);
26 extern int vp8_ac2quant(int QIndex, int Delta);
27 extern int vp8_dc_uv_quant(int QIndex, int Delta);
28 extern int vp8_ac_uv_quant(int QIndex, int Delta);
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
Dquant_common.c39 int vp8_dc_quant(int QIndex, int Delta) in vp8_dc_quant() argument
43 QIndex = QIndex + Delta; in vp8_dc_quant()
54 int vp8_dc2quant(int QIndex, int Delta) in vp8_dc2quant() argument
58 QIndex = QIndex + Delta; in vp8_dc2quant()
69 int vp8_dc_uv_quant(int QIndex, int Delta) in vp8_dc_uv_quant() argument
73 QIndex = QIndex + Delta; in vp8_dc_uv_quant()
101 int vp8_ac2quant(int QIndex, int Delta) in vp8_ac2quant() argument
105 QIndex = QIndex + Delta; in vp8_ac2quant()
122 int vp8_ac_uv_quant(int QIndex, int Delta) in vp8_ac_uv_quant() argument
126 QIndex = QIndex + Delta; in vp8_ac_uv_quant()
Dquant_common.h24 extern int vp8_dc_quant(int QIndex, int Delta);
25 extern int vp8_dc2quant(int QIndex, int Delta);
26 extern int vp8_ac2quant(int QIndex, int Delta);
27 extern int vp8_dc_uv_quant(int QIndex, int Delta);
28 extern int vp8_ac_uv_quant(int QIndex, int Delta);
/external/clang/lib/Rewrite/Core/
DDeltaTree.cpp41 int Delta; member
44 SourceDelta Delta; in get() local
45 Delta.FileLoc = Loc; in get()
46 Delta.Delta = D; in get()
47 return Delta; in get()
106 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
137 FullDelta = IR.LHS->getFullDelta()+IR.RHS->getFullDelta()+IR.Split.Delta; in DeltaTreeInteriorNode()
168 NewFullDelta += Values[i].Delta; in RecomputeFullDeltaLocally()
179 bool DeltaTreeNode::DoInsertion(unsigned FileIndex, int Delta, in DoInsertion() argument
182 FullDelta += Delta; in DoInsertion()
[all …]
/external/llvm/lib/CodeGen/
DRegisterPressure.cpp625 RegPressureDelta &Delta, in computeExcessPressureDelta() argument
628 Delta.Excess = PressureChange(); in computeExcessPressureDelta()
650 Delta.Excess = PressureChange(i); in computeExcessPressureDelta()
651 Delta.Excess.setUnitInc(PDiff); in computeExcessPressureDelta()
667 RegPressureDelta &Delta) { in computeMaxPressureDelta() argument
668 Delta.CriticalMax = PressureChange(); in computeMaxPressureDelta()
669 Delta.CurrentMax = PressureChange(); in computeMaxPressureDelta()
678 if (!Delta.CriticalMax.isValid()) { in computeMaxPressureDelta()
685 Delta.CriticalMax = PressureChange(i); in computeMaxPressureDelta()
686 Delta.CriticalMax.setUnitInc(PDiff); in computeMaxPressureDelta()
[all …]

12345678