Lines Matching refs:MetricDimensionKey
60 void addPastBucket(const MetricDimensionKey& key, const int64_t& bucketValue,
66 bool detectAnomaly(const int64_t& currBucketNum, const MetricDimensionKey& key,
70 void declareAnomaly(const int64_t& timestampNs, const MetricDimensionKey& key);
77 const MetricDimensionKey& key, const int64_t& currentBucketValue);
85 int64_t getSumOverPastBuckets(const MetricDimensionKey& key) const;
88 int64_t getPastBucketValue(const MetricDimensionKey& key, const int64_t& bucketNum) const;
98 uint32_t getRefractoryPeriodEndsSec(const MetricDimensionKey& key) const { in getRefractoryPeriodEndsSec()
119 virtual uint32_t getAlarmTimestampSec(const MetricDimensionKey& dimensionKey) const { in getAlarmTimestampSec()
151 unordered_map<MetricDimensionKey, uint32_t> mRefractoryPeriodEndsSec;
166 void subtractValueFromSum(const MetricDimensionKey& key, const int64_t& bucketValue);
169 bool isInRefractoryPeriod(const int64_t& timestampNs, const MetricDimensionKey& key) const;
179 void informSubscribers(const MetricDimensionKey& key);