Home
last modified time | relevance | path

Searched refs:TimeDiff (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/base/
Dtimeutils.h69 int32_t TimeDiff(uint32_t later, uint32_t earlier);
73 return TimeDiff(Time(), earlier); in TimeSince()
78 return TimeDiff(later, Time()); in TimeUntil()
Dtimeutils_unittest.cc86 EXPECT_LE(500, TimeDiff(ts_later, ts_earlier)); in TEST()
87 EXPECT_GE(-500, TimeDiff(ts_earlier, ts_later)); in TEST()
126 EXPECT_EQ(100, TimeDiff(ts_later, ts_earlier)); in TEST()
127 EXPECT_EQ(-100, TimeDiff(ts_earlier, ts_later)); in TEST()
Dratetracker.cc65 TimeDiff(current_time, initialization_time_milliseconds_); in ComputeRateForInterval()
101 TimeDiff(current_time, initialization_time_milliseconds_)); in ComputeTotalRate()
Dmessagequeue.cc212 cmsDelayNext = TimeDiff(dmsgq_.top().msTrigger_, msCurrent); in Get()
230 int32_t delay = TimeDiff(msCurrent, pmsg->ts_sensitive); in Get()
267 cmsElapsed = TimeDiff(msCurrent, msStart); in Get()
Dsharedexclusivelock_unittest.cc74 waiting_time_in_ms_ = TimeDiff(Time(), start_time); in OnMessage()
107 waiting_time_in_ms_ = TimeDiff(Time(), start_time); in OnMessage()
Dlogging_unittest.cc152 LOG(LS_INFO) << "Average log time: " << TimeDiff(finish, start) << " us"; in TEST()
Dtimeutils.cc172 int32_t TimeDiff(uint32_t later, uint32_t earlier) { in TimeDiff() function
Dfileutils.cc136 return TimeDiff(time(NULL), file_modify_time) >= seconds; in DirectoryIterator()
/external/webrtc/webrtc/p2p/base/
Dpseudotcp.cc292 if (m_rto_base && (rtc::TimeDiff(m_rto_base + m_rx_rto, now) <= 0)) { in NotifyClock()
324 && (rtc::TimeDiff(m_lastsend + m_rx_rto, now) <= 0)) { in NotifyClock()
325 if (rtc::TimeDiff(now, m_lastrecv) >= 15000) { in NotifyClock()
339 if (m_t_ack && (rtc::TimeDiff(m_t_ack + m_ack_delay, now) <= 0)) { in NotifyClock()
345 if ((m_state == TCP_ESTABLISHED) && (TimeDiff(m_lastrecv + IDLE_TIMEOUT, now) <= 0)) { in NotifyClock()
351 …if ((m_state == TCP_ESTABLISHED) && (TimeDiff(m_lasttraffic + (m_bOutgoing ? IDLE_PING * 3/2 : IDL… in NotifyClock()
625 std::min<int32_t>(nTimeout, rtc::TimeDiff(m_t_ack + m_ack_delay, now)); in clock_check()
629 std::min<int32_t>(nTimeout, rtc::TimeDiff(m_rto_base + m_rx_rto, now)); in clock_check()
633 std::min<int32_t>(nTimeout, rtc::TimeDiff(m_lastsend + m_rx_rto, now)); in clock_check()
638 nTimeout, rtc::TimeDiff(m_lasttraffic + (m_bOutgoing ? IDLE_PING * 3 / 2 in clock_check()
[all …]
Dstunport.cc88 if (now <= deadline_ && rtc::TimeDiff(now, start_time_) <= RETRY_TIMEOUT) { in OnErrorResponse()
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/
Dloudest_filter.cc20 if (rtc::TimeDiff(time_ms, it->second.last_time_ms) > in RemoveTimeoutStreams()
/external/webrtc/talk/session/media/
Dsrtpfilter.cc915 rtc::TimeDiff(current_time, stat->last_signal_time) > in HandleSrtpResult()