Home
last modified time | relevance | path

Searched refs:mMean (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libcpustats/
DCentralTendencyStatistics.cpp30 mMean = 0; in sample()
33 double delta = x - mMean; in sample()
34 mMean += delta / mN; in sample()
35 mM2 += delta * (x - mMean); in sample()
40 mMean = NAN; in reset()
/frameworks/av/media/libnblog/
DPerformanceAnalysis.cpp179 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()
248 if (mOutlierDistribution.mMean == 0) { in detectAndStorePeak()
249 mOutlierDistribution.mMean = diff; in detectAndStorePeak()
257 if ((fabs(diff - mOutlierDistribution.mMean) < in detectAndStorePeak()
260 fabs(diff - mOutlierDistribution.mMean) < in detectAndStorePeak()
266 const double kDelta = diff - mOutlierDistribution.mMean; in detectAndStorePeak()
267 mOutlierDistribution.mMean += kDelta / mOutlierDistribution.mN; in detectAndStorePeak()
[all …]
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DStats.java27 private double mMean, mStandardDeviation; field in Stats
50 mMean += result; in Stats()
52 mMean /= (double) size; in Stats()
55 final double tmp = values.get(i) - mMean; in Stats()
66 return mMean; in getMean()
/frameworks/av/media/libcpustats/include/cpustats/
DCentralTendencyStatistics.h28 mMean(NAN), mMedian(NAN), mMinimum(INFINITY), mMaximum(-INFINITY), mN(0), mM2(0), in CentralTendencyStatistics()
37 double mean() const { return mMean; } in mean()
58 double mMean;
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h249 double mMean = -1; // average time between audio processing wakeups member
271 msInterval mMean = 0; // sample mean since previous peak member