Searched refs:numPeriods (Results 1 – 5 of 5) sorted by relevance
101 int64_t numPeriods = (mCounter64 + period - 1) / period; in roundUp64() local102 mCounter64 = numPeriods * period; in roundUp64()
79 const int numPeriods = phaseOffset / period; in setPhaseOffset() local80 phaseOffset -= numPeriods * period; in setPhaseOffset()
404 nsecs_t numPeriods = baseTime / mPeriod; in computeListenerNextEventTimeLocked() local405 ALOGV("[%s] numPeriods = %" PRId64, mName, numPeriods); in computeListenerNextEventTimeLocked()406 nsecs_t t = (numPeriods + 1) * mPeriod + phase; in computeListenerNextEventTimeLocked()
197 int numPeriods = int((duration + mDisplayPeriod/2) / in updateStatsLocked() local202 if (numPeriods < nextBucket) { in updateStatsLocked()
2150 size_t numPeriods = static_cast<size_t>(elapsedTime / stats.vsyncPeriod); in postComposition() local2151 if (numPeriods < SurfaceFlingerBE::NUM_BUCKETS - 1) { in postComposition()2152 getBE().mFrameBuckets[numPeriods] += elapsedTime; in postComposition()