Searched refs:TimeDiff (Results 1 – 12 of 12) sorted by relevance
/external/webrtc/webrtc/base/ |
D | timeutils.h | 69 int32_t TimeDiff(uint32_t later, uint32_t earlier); 73 return TimeDiff(Time(), earlier); in TimeSince() 78 return TimeDiff(later, Time()); in TimeUntil()
|
D | timeutils_unittest.cc | 86 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()
|
D | ratetracker.cc | 65 TimeDiff(current_time, initialization_time_milliseconds_); in ComputeRateForInterval() 101 TimeDiff(current_time, initialization_time_milliseconds_)); in ComputeTotalRate()
|
D | messagequeue.cc | 212 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()
|
D | sharedexclusivelock_unittest.cc | 74 waiting_time_in_ms_ = TimeDiff(Time(), start_time); in OnMessage() 107 waiting_time_in_ms_ = TimeDiff(Time(), start_time); in OnMessage()
|
D | logging_unittest.cc | 152 LOG(LS_INFO) << "Average log time: " << TimeDiff(finish, start) << " us"; in TEST()
|
D | timeutils.cc | 172 int32_t TimeDiff(uint32_t later, uint32_t earlier) { in TimeDiff() function
|
D | fileutils.cc | 136 return TimeDiff(time(NULL), file_modify_time) >= seconds; in DirectoryIterator()
|
/external/webrtc/webrtc/p2p/base/ |
D | pseudotcp.cc | 292 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 …]
|
D | stunport.cc | 88 if (now <= deadline_ && rtc::TimeDiff(now, start_time_) <= RETRY_TIMEOUT) { in OnErrorResponse()
|
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/ |
D | loudest_filter.cc | 20 if (rtc::TimeDiff(time_ms, it->second.last_time_ms) > in RemoveTimeoutStreams()
|
/external/webrtc/talk/session/media/ |
D | srtpfilter.cc | 915 rtc::TimeDiff(current_time, stat->last_signal_time) > in HandleSrtpResult()
|