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()95 if (mNumOfPastBuckets == 0 || in addPastBucket()96 bucketNum < 0 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets) { in addPastBucket()124 if (mNumOfPastBuckets == 0 || in addPastBucket()125 bucketNum < 0 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets) { in addPastBucket()174 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets in getPastBucketValue()
108 return mNumOfPastBuckets; in getNumOfPastBuckets()169 const int mNumOfPastBuckets; variable