Home
last modified time | relevance | path

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

/system/core/storaged/include/
Dstoraged.h131 double mSquareSum; variable
134 stream_stats() : mSum(0), mSquareSum(0), mCnt(0) {}; in stream_stats()
140 return sqrt(mSquareSum / mCnt - mSum * mSum / (mCnt * mCnt)); in get_std()
144 mSquareSum += (double)num * (double)num; in add()
148 if (mSum < num || mSquareSum < (double)num * (double)num) return; in evict()
150 mSquareSum -= (double)num * (double)num; in evict()