OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ToMicroseconds
(Results
1 - 25
of
35
) sorted by null
1
2
/external/chromium_org/net/quic/congestion_control/
inter_arrival_overuse_detector.cc
111
if (offset.
ToMicroseconds
() < send_receive_offset_.
ToMicroseconds
()) {
137
int64 residual_us = residual.
ToMicroseconds
();
157
accumulated_deltas_.
ToMicroseconds
() > kThresholdAccumulatedDeltasUs) {
166
estimated_congestion_delay_.
ToMicroseconds
()) &&
168
abs(accumulated_deltas_.
ToMicroseconds
()))) {
173
<< " offset:" << send_receive_offset_.
ToMicroseconds
()
174
<< " delta:" << estimated_congestion_delay_.
ToMicroseconds
()
175
<< " drift:" << accumulated_deltas_.
ToMicroseconds
();
183
if (accumulated_deltas_.
ToMicroseconds
() > 0)
[
all
...]
hybrid_slow_start.cc
65
if (current_time.Subtract(last_time_).
ToMicroseconds
() <=
68
if (current_time.Subtract(round_start_).
ToMicroseconds
() >=
69
(delay_min.
ToMicroseconds
() >> 1)) {
87
int accepted_variance_us = delay_min.
ToMicroseconds
() >>
tcp_cubic_sender.cc
213
smoothed_rtt_.
ToMicroseconds
() + 4 * mean_deviation_.
ToMicroseconds
());
288
DCHECK_LT(0, rtt.
ToMicroseconds
());
301
rtt.
ToMicroseconds
() / 2);
304
kOneMinusBeta * mean_deviation_.
ToMicroseconds
() +
305
kBeta * abs(smoothed_rtt_.
ToMicroseconds
() - rtt.
ToMicroseconds
()));
307
kOneMinusAlpha * smoothed_rtt_.
ToMicroseconds
() +
308
kAlpha * rtt.
ToMicroseconds
());
309
DVLOG(1) << "Cubic; smoothed_rtt_:" << smoothed_rtt_.
ToMicroseconds
()
[
all
...]
paced_sender_test.cc
41
clock_.Now(), zero_time_).
ToMicroseconds
());
55
clock_.Now(), zero_time_).
ToMicroseconds
());
72
clock_.Now(), zero_time_).
ToMicroseconds
());
channel_estimator.cc
45
if (received_delta.
ToMicroseconds
() >
47
sent_delta.
ToMicroseconds
()) {
inter_arrival_sender.cc
217
DCHECK_LE(0, rtt.
ToMicroseconds
());
231
kOneMinusAlpha * smoothed_rtt_.
ToMicroseconds
() +
232
kAlpha * rtt.
ToMicroseconds
());
398
static_cast<float>(buffer_reduction.
ToMicroseconds
()) /
399
elapsed_time.
ToMicroseconds
(); // < 1.0
420
<< buffer_reduction.
ToMicroseconds
() << " us "
422
<< elapsed_time.
ToMicroseconds
() << " us ";
463
kNumMicrosPerSecond) / SmoothedRtt().
ToMicroseconds
();
486
<< SmoothedRtt().
ToMicroseconds
()
available_channel_estimator.cc
67
QuicTime::Delta::FromMicroseconds(send_delta.
ToMicroseconds
() / 10);
paced_sender.cc
41
if (time_until_send.
ToMicroseconds
() >= kMaxSchedulingDelayUs) {
pacing_sender_test.cc
90
EXPECT_EQ(delay.
ToMicroseconds
(),
93
NOT_HANDSHAKE).
ToMicroseconds
());
channel_estimator_test.cc
137
increased_received_delta.
ToMicroseconds
() / 2));
177
increased_received_delta.
ToMicroseconds
() / 2));
217
increased_received_delta.
ToMicroseconds
() / 2));
cubic.cc
173
(current_time.Add(delay_min).Subtract(epoch_).
ToMicroseconds
() << 10) /
fix_rate_sender.cc
62
DCHECK_LE(0, rtt.
ToMicroseconds
());
pacing_sender.cc
112
<< next_packet_send_time_.Subtract(now).
ToMicroseconds
();
/external/chromium_org/net/tools/quic/
quic_epoll_clock_test.cc
20
clock.ApproximateNow().Subtract(QuicTime::Zero()).
ToMicroseconds
());
24
clock.ApproximateNow().Subtract(QuicTime::Zero()).
ToMicroseconds
());
33
clock.Now().Subtract(QuicTime::Zero()).
ToMicroseconds
());
37
clock.Now().Subtract(QuicTime::Zero()).
ToMicroseconds
());
quic_epoll_connection_helper_test.cc
46
epoll_server_.AdvanceBy(delta.
ToMicroseconds
());
65
epoll_server_.AdvanceByAndCallCallbacks(delta.
ToMicroseconds
());
79
epoll_server_.AdvanceByExactlyAndCallCallbacks(delta.
ToMicroseconds
());
96
epoll_server_.AdvanceByExactlyAndCallCallbacks(delta.
ToMicroseconds
());
101
new_delta.Subtract(delta).
ToMicroseconds
());
quic_epoll_connection_helper.cc
34
deadline().Subtract(QuicTime::Zero()).
ToMicroseconds
(),
quic_time_wait_list_manager.cc
333
.
ToMicroseconds
();
336
next_alarm_interval = kTimeWaitPeriod_.
ToMicroseconds
();
quic_time_wait_list_manager_test.cc
305
epoll_server_.set_now_in_usec(time_wait_period.
ToMicroseconds
());
312
epoll_server_.set_now_in_usec(time_wait_period.Add(offset).
ToMicroseconds
());
315
time_wait_period.Subtract(offset).
ToMicroseconds
();
/external/chromium_org/net/quic/
quic_time.h
55
int64
ToMicroseconds
() const;
145
return lhs.
ToMicroseconds
() == rhs.
ToMicroseconds
();
151
return lhs.
ToMicroseconds
() < rhs.
ToMicroseconds
();
quic_bandwidth.cc
50
delta.
ToMicroseconds
();
77
return ToBytesPerSecond() * time_period.
ToMicroseconds
() /
82
return ToKBytesPerSecond() * time_period.
ToMicroseconds
() /
quic_time.cc
51
int64 QuicTime::Delta::
ToMicroseconds
() const {
56
return QuicTime::Delta::FromMicroseconds(
ToMicroseconds
() +
57
delta.
ToMicroseconds
());
61
return QuicTime::Delta::FromMicroseconds(
ToMicroseconds
() -
62
delta.
ToMicroseconds
());
quic_time_test.cc
34
EXPECT_EQ(1000, QuicTime::Delta::FromMilliseconds(1).
ToMicroseconds
());
36
EXPECT_EQ(QuicTime::Delta::FromMilliseconds(2000).
ToMicroseconds
(),
37
QuicTime::Delta::FromSeconds(2).
ToMicroseconds
());
78
EXPECT_EQ(1000, diff.
ToMicroseconds
());
quic_connection_helper_test.cc
62
EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.
ToMicroseconds
()),
80
EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.
ToMicroseconds
()),
100
EXPECT_EQ(base::TimeDelta::FromMicroseconds(delta.
ToMicroseconds
()),
quic_connection_helper.cc
46
int64 delay_us = deadline().Subtract(clock_->Now()).
ToMicroseconds
();
/external/chromium_org/net/quic/test_tools/
mock_clock.cc
35
now_.Subtract(QuicTime::Zero()).
ToMicroseconds
());
Completed in 374 milliseconds
1
2