Searched refs:nextSampleTime (Results 1 – 3 of 3) sorted by relevance
131 int64_t nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run() local133 if (now >= nextSampleTime) { in run()135 nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run()139 mWaitCV.wait_for(runLock, std::chrono::nanoseconds(nextSampleTime - now)); in run()
120 int64_t nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run() local122 if (now >= nextSampleTime) { in run()124 nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run()128 mWaitCV.wait_for(runLock, std::chrono::nanoseconds(nextSampleTime - now)); in run()
117 int64_t nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run() local119 if (now >= nextSampleTime) { in run()121 nextSampleTime = mLastSampleTimeNs + mSamplingPeriodNs; in run()125 mWaitCV.wait_for(runLock, std::chrono::nanoseconds(nextSampleTime - now)); in run()