Searched refs:mNumOfPastBuckets (Results 1 – 2 of 2) sorted by relevance
35 : mAlert(alert), mConfigKey(configKey), mNumOfPastBuckets(mAlert.num_buckets() - 1) { in AnomalyTracker()56 mPastBuckets.resize(mNumOfPastBuckets); in resetStorage()64 return bucketNum % mNumOfPastBuckets; in index()69 if (mNumOfPastBuckets <= 0) { in advanceMostRecentBucketTo()78 if (bucketNum >= mMostRecentBucketNum + mNumOfPastBuckets) { in advanceMostRecentBucketTo()97 if (mNumOfPastBuckets == 0 || in addPastBucket()98 bucketNum < 0 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets) { in addPastBucket()126 if (mNumOfPastBuckets == 0 || in addPastBucket()127 bucketNum < 0 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets) { in addPastBucket()177 || bucketNum <= mMostRecentBucketNum - mNumOfPastBuckets in getPastBucketValue()
107 return mNumOfPastBuckets; in getNumOfPastBuckets()136 const int mNumOfPastBuckets; variable