Lines Matching refs:mBufferPeriod
165 if (mBufferPeriod.mPrevTs == 0) { in logTsEntry()
166 mBufferPeriod.mPrevTs = ts; in logTsEntry()
172 deltaMs(mBufferPeriod.mPrevTs, ts)); in logTsEntry()
174 const int diffJiffy = deltaJiffy(mBufferPeriod.mPrevTs, ts); in logTsEntry()
179 mBufferPeriod.mMean = (mBufferPeriod.mMean < 0) ? diffMs : in logTsEntry()
180 exponentialWeight * mBufferPeriod.mMean + (1.0 - exponentialWeight) * diffMs; in logTsEntry()
186 mBufferPeriod.mOutlierFactor = mBufferPeriod.mMean < kFastMixerMax ? 1.8 : 2.0; in logTsEntry()
188 mBufferPeriod.mOutlier = mBufferPeriod.mMean * mBufferPeriod.mOutlierFactor; in logTsEntry()
217 mBufferPeriod.mPrevTs = ts; in logTsEntry()
224 mBufferPeriod.mPrevTs = 0; in handleStateChange()
303 if (diffMs >= mBufferPeriod.mOutlier) { in detectAndStoreOutlier()
306 mOutlierDistribution.mElapsed, mBufferPeriod.mPrevTs); in detectAndStoreOutlier()
359 buckets[logRound(ms, mBufferPeriod.mMean)] += countPair.second; in reportPerformance()