Home
last modified time | relevance | path

Searched refs:mN (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/cpustats/
DCentralTendencyStatistics.cpp29 if (mN == 0) { in sample()
32 ++mN; in sample()
34 mMean += delta / mN; in sample()
44 mN = 0; in reset()
55 if (mVarianceKnownForN != mN) { in variance()
56 if (mN > 1) { in variance()
58 variance = mM2 / (mN - 1); in variance()
63 mVarianceKnownForN = mN; in variance()
73 if (mStddevKnownForN != mN) { in stddev()
76 mStddevKnownForN = mN; in stddev()
/frameworks/base/include/cpustats/
DCentralTendencyStatistics.h28 mMean(NAN), mMedian(NAN), mMinimum(INFINITY), mMaximum(-INFINITY), mN(0), mM2(0), in CentralTendencyStatistics()
52 unsigned n() const { return mN; } in n()
62 unsigned mN; // number of samples so far variable
/frameworks/base/services/sensorservice/
DFusion.cpp134 size_t mN; member in android::Covariance
136 Covariance() : mSumXX(0.0f), mSumX(0.0f), mN(0) { } in Covariance()
140 mN++; in update()
143 const float N = 1.0f / mN; in operator ()()
147 mN = 0; in reset()
152 return mN; in getCount()