Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/default/
DSensor.cpp115 int64_t nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run() local
117 if (now >= nextSampleTime) { in run()
119 nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run()
123 mWaitCV.wait_for(runLock, std::chrono::nanoseconds(nextSampleTime - now)); in run()