Home
last modified time | relevance | path

Searched refs:TimePoint (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish-opengl/system/hwc3/
DVsyncThread.cpp35 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()
DTime.h30 using TimePoint = std::chrono::time_point<std::chrono::steady_clock>; variable
32 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()
DDisplay.h179 std::optional<TimePoint> mExpectedPresentTime;