Searched refs:nextSampleTime (Results 1 – 2 of 2) sorted by relevance
119 int64_t nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run() local121 if (now >= nextSampleTime) { in run()123 nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run()127 mWaitCV.wait_for(runLock, std::chrono::nanoseconds(nextSampleTime - now)); in run()
130 int64_t nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run() local132 if (now >= nextSampleTime) { in run()134 nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run()138 mWaitCV.wait_for(runLock, std::chrono::nanoseconds(nextSampleTime - now)); in run()