Searched refs:TimePoint (Results 1 – 3 of 3) sorted by relevance
35 TimePoint GetNextVsyncInPhase(Nanoseconds vsyncPeriod, TimePoint previousVsync, TimePoint now) { in GetNextVsyncInPhase()116 TimePoint nextVsync = GetNextVsyncInPhase(mVsyncPeriod, mPreviousVsync, update.updateAfter); in scheduleVsyncUpdate()125 Nanoseconds VsyncThread::updateVsyncPeriodLocked(TimePoint now) { in updateVsyncPeriodLocked()140 TimePoint previousLog = std::chrono::steady_clock::now(); in threadLoop()143 TimePoint now = std::chrono::steady_clock::now(); in threadLoop()144 TimePoint nextVsync = GetNextVsyncInPhase(vsyncPeriod, mPreviousVsync, now); in threadLoop()
30 using TimePoint = std::chrono::time_point<std::chrono::steady_clock>; variable32 inline TimePoint asTimePoint(int64_t nanos) { return TimePoint(Nanoseconds(nanos)); } in asTimePoint()34 inline TimePoint now() { return asTimePoint(systemTime(SYSTEM_TIME_MONOTONIC)); } in now()38 inline int64_t asNanosTimePoint(TimePoint time) { in asNanosTimePoint()39 TimePoint zero(Nanoseconds(0)); in asNanosTimePoint()
179 std::optional<TimePoint> mExpectedPresentTime;