#include "system_wrappers/include/clock.h"
#include "rtc_base/time_utils.h"
namespace webrtc {
namespace {
int64_t NtpOffsetUsCalledOnce() { … }
NtpTime TimeMicrosToNtp(int64_t time_us) { … }
}
class RealTimeClock : public Clock { … };
Clock* Clock::GetRealTimeClock() { … }
SimulatedClock::SimulatedClock(int64_t initial_time_us)
: … { … }
SimulatedClock::SimulatedClock(Timestamp initial_time)
: … { … }
SimulatedClock::~SimulatedClock() { … }
Timestamp SimulatedClock::CurrentTime() { … }
NtpTime SimulatedClock::ConvertTimestampToNtpTime(Timestamp timestamp) { … }
void SimulatedClock::AdvanceTimeMilliseconds(int64_t milliseconds) { … }
void SimulatedClock::AdvanceTimeMicroseconds(int64_t microseconds) { … }
void SimulatedClock::AdvanceTime(TimeDelta delta) { … }
}