HomeSort by relevance Sort by last modified time
    Searched refs:mCurrentBucketNum (Results 1 - 9 of 9) sorted by null

  /frameworks/base/cmds/statsd/src/metrics/duration_helper/
DurationTracker.h 79 mCurrentBucketNum(currentBucketNum),
122 return mStartTimeNs + (mCurrentBucketNum + 1) * mBucketSizeNs;
168 return mStartTimeNs + (mCurrentBucketNum + 1) * mBucketSizeNs;
194 int64_t mCurrentBucketNum;
OringDurationTracker.cpp 105 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket);
129 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket);
173 addPastBucketToAnomalyTrackers(mDurationFullBucket, mCurrentBucketNum);
186 addPastBucketToAnomalyTrackers(info.mDuration, mCurrentBucketNum + i);
191 addPastBucketToAnomalyTrackers(0, mCurrentBucketNum + numBucketsForward - 1);
199 mCurrentBucketNum += numBucketsForward;
253 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket);
319 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket);
361 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets());
399 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets() + futureBucketIdx)
    [all...]
MaxDurationTracker.cpp 230 mCurrentBucketNum += numBucketsForward;
  /frameworks/base/cmds/statsd/src/metrics/
MetricProducer.h 49 mCurrentBucketNum(0),
177 return mCurrentBucketNum;
221 return mTimeBaseNs + (mCurrentBucketNum + 1) * mBucketSizeNs;
235 // can be computed from this based on mCurrentBucketNum.
244 int64_t mCurrentBucketNum;
CountMetricProducer.cpp 294 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, eventKey,
314 mCurrentBucketNum += numBucketsForward;
345 tracker->addPastBucket(mCurrentFullCounters, mCurrentBucketNum);
351 tracker->addPastBucket(mCurrentSlicedCounter, mCurrentBucketNum);
ValueMetricProducer.cpp 430 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, eventKey, wholeBucketVal);
447 mCurrentBucketNum += numBucketsForward;
496 tracker->addPastBucket(slice.first, slice.second, mCurrentBucketNum);
506 tracker->addPastBucket(slice.first, slice.second.sum, mCurrentBucketNum);
GaugeMetricProducer.cpp 454 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, eventKey,
501 mCurrentBucketNum += numBucketsForward;
536 tracker->addPastBucket(mCurrentSlicedBucketForAnomaly, mCurrentBucketNum);
DurationMetricProducer.cpp 166 mDimensionsInCondition, mNested, mCurrentBucketStartTimeNs, mCurrentBucketNum,
172 mDimensionsInCondition, mNested, mCurrentBucketStartTimeNs, mCurrentBucketNum,
576 mCurrentBucketNum += numBucketsForward;
    [all...]
  /frameworks/base/cmds/statsd/tests/metrics/
GaugeMetricProducer_test.cpp 163 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum);
174 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum);
187 EXPECT_EQ(1L, gaugeProducer.mCurrentBucketNum);
199 EXPECT_EQ(2L, gaugeProducer.mCurrentBucketNum);
249 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum);

Completed in 198 milliseconds