Searched refs:mSquareSum (Results 1 – 1 of 1) sorted by relevance
131 double mSquareSum; variable134 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()