Searched refs:mNumOfPastBuckets (Results 1 – 2 of 2) sorted by relevance
38 : mAlert(alert), mConfigKey(configKey), mNumOfPastBuckets(mAlert.num_buckets() - 1) { in AnomalyTracker()55 mPastBuckets.resize(mNumOfPastBuckets); in resetStorage()63 return bucketNum % mNumOfPastBuckets; in index()68 if (mNumOfPastBuckets <= 0) { in advanceMostRecentBucketTo()77 if (bucketNum >= mMostRecentBucketNum + mNumOfPastBuckets) { in advanceMostRecentBucketTo()96 if (mNumOfPastBuckets == 0 || in addPastBucket()97 bucketNum < 0 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets) { in addPastBucket()125 if (mNumOfPastBuckets == 0 || in addPastBucket()126 bucketNum < 0 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets) { in addPastBucket()176 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets in getPastBucketValue()
109 return mNumOfPastBuckets; in getNumOfPastBuckets()169 const int mNumOfPastBuckets; variable