Lines Matching refs:mOutlierDistribution

244     mOutlierDistribution.mTypicalDiff = (mOutlierDistribution.mTypicalDiff *  in detectAndStorePeak()
248 if (mOutlierDistribution.mMean == 0) { in detectAndStorePeak()
249 mOutlierDistribution.mMean = diff; in detectAndStorePeak()
252 mOutlierDistribution.mN++; in detectAndStorePeak()
257 if ((fabs(diff - mOutlierDistribution.mMean) < in detectAndStorePeak()
258 mOutlierDistribution.kMaxDeviation * mOutlierDistribution.mSd) || in detectAndStorePeak()
259 (mOutlierDistribution.mSd == 0 && in detectAndStorePeak()
260 fabs(diff - mOutlierDistribution.mMean) < in detectAndStorePeak()
261 mOutlierDistribution.mTypicalDiff)) { in detectAndStorePeak()
265 mOutlierDistribution.mN++; in detectAndStorePeak()
266 const double kDelta = diff - mOutlierDistribution.mMean; in detectAndStorePeak()
267 mOutlierDistribution.mMean += kDelta / mOutlierDistribution.mN; in detectAndStorePeak()
268 const double kDelta2 = diff - mOutlierDistribution.mMean; in detectAndStorePeak()
269 mOutlierDistribution.mM2 += kDelta * kDelta2; in detectAndStorePeak()
270 mOutlierDistribution.mSd = (mOutlierDistribution.mN < 2) ? 0 : in detectAndStorePeak()
271 sqrt(mOutlierDistribution.mM2 / (mOutlierDistribution.mN - 1)); in detectAndStorePeak()
285 mOutlierDistribution.mMean = 0; in detectAndStorePeak()
286 mOutlierDistribution.mSd = 0; in detectAndStorePeak()
287 mOutlierDistribution.mN = 0; in detectAndStorePeak()
288 mOutlierDistribution.mM2 = 0; in detectAndStorePeak()
306 mOutlierDistribution.mElapsed, mBufferPeriod.mPrevTs); in detectAndStoreOutlier()
314 mOutlierDistribution.mElapsed = 0; in detectAndStoreOutlier()
316 mOutlierDistribution.mElapsed += diffMs; in detectAndStoreOutlier()