Home
last modified time | relevance | path

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

/system/core/storaged/
Dstoraged_diskstats.cpp226 mMean.read_perf = (uint32_t)mStats.read_perf.get_mean(); in update_mean()
227 mMean.read_ios = (uint32_t)mStats.read_ios.get_mean(); in update_mean()
228 mMean.write_perf = (uint32_t)mStats.write_perf.get_mean(); in update_mean()
229 mMean.write_ios = (uint32_t)mStats.write_ios.get_mean(); in update_mean()
230 mMean.queue = (uint32_t)mStats.queue.get_mean(); in update_mean()
262 return ((double)perf->queue >= (double)mMean.queue + mSigma * (double)mStd.queue) && in detect()
263 ((double)perf->read_perf < (double)mMean.read_perf - mSigma * (double)mStd.read_perf) && in detect()
264 ((double)perf->write_perf < (double)mMean.write_perf - mSigma * (double)mStd.write_perf); in detect()
292 log_debug_disk_perf(&mMean, "stalled_mean"); in update()
/system/core/storaged/include/
Dstoraged_diskstats.h163 struct disk_perf mMean; variable
191 mMean(),
/system/media/audio_utils/include/audio_utils/
DStatistics.h278 const D delta = value - mMean;
289 mMean += meanDelta;
290 mM2 = mAlpha * mM2 + PRODUCT()(delta, (value - mMean));
317 mMean = {};
326 return mMean;
387 S mMean{}; // running mean.
/system/media/audio_utils/tests/
Dstatistics_tests.cpp63 , mMean{android::audio_utils::sum(a) / mN}
64 , mM2{android::audio_utils::sumSqDiff(a, mMean)}
75 constexpr double getMean() const { return mMean; } in getMean()
85 const double mMean; member in ConstexprStatistics
/system/core/storaged/tests/
Dstoraged_test.cpp278 struct disk_perf test_mean = dsm_detect.mMean; in TEST()