Home
last modified time | relevance | path

Searched refs:mCurrentBucketStartTimeNs (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp161 mCurrentBucketStartTimeNs = startTimeNs; in ValueMetricProducer()
162 mConditionTimer.newBucketStart(mCurrentBucketStartTimeNs); in ValueMetricProducer()
177 pullAndMatchEventsLocked(mCurrentBucketStartTimeNs, mCondition); in prepareFirstBucketLocked()
181 mCurrentBucketStartTimeNs); in prepareFirstBucketLocked()
376 bool isEventTooLate = eventTimeNs < mCurrentBucketStartTimeNs; in onActiveStateChangedLocked()
410 bool isEventTooLate = eventTimeNs < mCurrentBucketStartTimeNs; in onConditionChangedLocked()
415 (long long)mCurrentBucketStartTimeNs); in onConditionChangedLocked()
519 bool isEventLate = eventElapsedTimeNs < mCurrentBucketStartTimeNs; in accumulateEvents()
522 (long long)eventElapsedTimeNs, (long long)mCurrentBucketStartTimeNs); in accumulateEvents()
674 if (eventTimeNs < mCurrentBucketStartTimeNs) { in onMatchedLogEventInternalLocked()
[all …]
DGaugeMetricProducer.cpp143 mCurrentBucketStartTimeNs = startTimeNs; in GaugeMetricProducer()
312 pullAndMatchEventsLocked(mCurrentBucketStartTimeNs); in prepareFirstBucketLocked()
469 if (eventTimeNs < mCurrentBucketStartTimeNs) { in onMatchedLogEventInternalLocked()
471 (long long)mCurrentBucketStartTimeNs); in onMatchedLogEventInternalLocked()
546 (long long)eventTimeNs, (long long)(mCurrentBucketStartTimeNs + mBucketSizeNs)); in flushIfNeededLocked()
557 (long long)mCurrentBucketStartTimeNs); in flushIfNeededLocked()
565 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
572 if (info.mBucketEndNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs) { in flushCurrentBucketLocked()
599 mCurrentBucketStartTimeNs = nextBucketStartTimeNs; in flushCurrentBucketLocked()
DCountMetricProducer.cpp107 mCurrentBucketStartTimeNs = startTimeNs; in CountMetricProducer()
329 (long long)mCurrentBucketStartTimeNs); in flushIfNeededLocked()
336 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
379 mCurrentBucketStartTimeNs = nextBucketStartTimeNs; in flushCurrentBucketLocked()
DMetricProducer.h83 mCurrentBucketStartTimeNs(timeBaseNs), in MetricProducer()
335 int64_t mCurrentBucketStartTimeNs; variable
DDurationMetricProducer.cpp134 mCurrentBucketStartTimeNs = startTimeNs; in DurationMetricProducer()
167 mDimensionsInCondition, mNested, mCurrentBucketStartTimeNs, mCurrentBucketNum, in createDurationTracker()
173 mDimensionsInCondition, mNested, mCurrentBucketStartTimeNs, mCurrentBucketNum, in createDurationTracker()
633 mCurrentBucketStartTimeNs = nextBucketStartTimeNs; in flushCurrentBucketLocked()
/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp54 EXPECT_EQ(600500000000, durationProducer.mCurrentBucketStartTimeNs); in TEST()
221 EXPECT_EQ(bucketStartTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
230 EXPECT_EQ(eventUpgradeTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
275 EXPECT_EQ(bucketStartTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
287 EXPECT_EQ(eventUpgradeTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
367 EXPECT_EQ(bucketStartTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
371 EXPECT_EQ(eventUpgradeTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
414 EXPECT_EQ(bucketStartTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
418 EXPECT_EQ(eventUpgradeTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
425 EXPECT_EQ(eventUpgradeTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST()
DCountMetricProducer_test.cpp48 EXPECT_EQ(600500000000, countProducer.mCurrentBucketStartTimeNs); in TEST()
252 EXPECT_EQ(eventUpgradeTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST()
263 EXPECT_EQ(eventUpgradeTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST()
272 EXPECT_EQ(lastEndTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST()
306 EXPECT_EQ(eventUpgradeTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST()
DGaugeMetricProducer_test.cpp85 EXPECT_EQ(600500000000, gaugeProducer.mCurrentBucketStartTimeNs); in TEST()
230 EXPECT_EQ(eventUpgradeTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST()
242 EXPECT_EQ((int64_t)eventUpgradeTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST()
255 EXPECT_EQ((int64_t)bucketStartTimeNs + bucketSizeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST()
324 EXPECT_EQ((int64_t)eventUpgradeTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST()
391 EXPECT_EQ(bucketStartTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST()
DValueMetricProducer_test.cpp204 EXPECT_EQ(600500000000, valueProducer.mCurrentBucketStartTimeNs); in TEST()
684 EXPECT_EQ(bucketStartTimeNs + 150, valueProducer.mCurrentBucketStartTimeNs); in TEST()
692 EXPECT_EQ(bucketStartTimeNs + 150, valueProducer.mCurrentBucketStartTimeNs); in TEST()
701 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, valueProducer.mCurrentBucketStartTimeNs); in TEST()
746 EXPECT_EQ(bucket2StartTimeNs + 150, valueProducer.mCurrentBucketStartTimeNs); in TEST()
757 EXPECT_EQ(bucket3StartTimeNs, valueProducer.mCurrentBucketStartTimeNs); in TEST()
797 EXPECT_EQ(bucket2StartTimeNs, valueProducer.mCurrentBucketStartTimeNs); in TEST()
833 EXPECT_EQ(bucket2StartTimeNs-50, valueProducer->mCurrentBucketStartTimeNs); in TEST()
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp164 current_info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
198 mCurrentBucketStartTimeNs = fullBucketEnd + (numBucketsForward - 1) * mBucketSizeNs; in flushCurrentBucket()
201 mCurrentBucketStartTimeNs = eventTimeNs; in flushCurrentBucket()
203 mLastStartTime = mCurrentBucketStartTimeNs; in flushCurrentBucket()
DDurationTracker.h75 mCurrentBucketStartTimeNs(currentBucketStartNs), in DurationTracker()
187 int64_t mCurrentBucketStartTimeNs; variable
DMaxDurationTracker.cpp221 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
229 mCurrentBucketStartTimeNs = fullBucketEnd + (numBucketsForward - 1) * mBucketSizeNs; in flushCurrentBucket()
232 mCurrentBucketStartTimeNs = eventTimeNs; in flushCurrentBucket()