Lines Matching refs:toNs
33 constexpr nsecs_t toNs(std::chrono::duration<Rep, Per> const& tp) { in toNs() function
66 FixedRateIdealStubTracker() : StubTracker{toNs(3ms)} {} in FixedRateIdealStubTracker()
102 static nsecs_t constexpr mDispatchGroupThreshold = toNs(100us);
103 static nsecs_t constexpr mVsyncMoveThreshold = toNs(500us);
174 cb_receiver{RepeatingCallbackReceiver(dispatch, toNs(1500us), toNs(2500us)), in TEST_F()
175 RepeatingCallbackReceiver(dispatch, toNs(0h), toNs(0h)), in TEST_F()
176 RepeatingCallbackReceiver(dispatch, toNs(1ms), toNs(3ms))}; in TEST_F()
196 auto next_vsync_interval = toNs(3ms); in TEST_F()
202 RepeatingCallbackReceiver cb_receiver(dispatch, toNs(1ms), toNs(5ms)); in TEST_F()
205 tracker->set_interval(next_vsync_interval += toNs(1ms), last_known); in TEST_F()
216 auto tracker = std::make_shared<VRRStubTracker>(toNs(3ms)); in TEST_F()
221 RepeatingCallbackReceiver cb_receiver(dispatch, toNs(1ms), toNs(5ms)); in TEST_F()
227 tracker->set_interval(toNs(5ms), last_known); in TEST_F()