Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp156 mCurrentBucketStartTimeNs = startTimeNs; in ValueMetricProducer()
157 mConditionTimer.newBucketStart(mCurrentBucketStartTimeNs); in ValueMetricProducer()
172 pullAndMatchEventsLocked(mCurrentBucketStartTimeNs, mCondition); in prepareFirstBucketLocked()
176 mCurrentBucketStartTimeNs); in prepareFirstBucketLocked()
371 bool isEventTooLate = eventTimeNs < mCurrentBucketStartTimeNs; in onActiveStateChangedLocked()
405 bool isEventTooLate = eventTimeNs < mCurrentBucketStartTimeNs; in onConditionChangedLocked()
410 (long long)mCurrentBucketStartTimeNs); in onConditionChangedLocked()
514 bool isEventLate = eventElapsedTimeNs < mCurrentBucketStartTimeNs; in accumulateEvents()
517 (long long)eventElapsedTimeNs, (long long)mCurrentBucketStartTimeNs); in accumulateEvents()
669 if (eventTimeNs < mCurrentBucketStartTimeNs) { in onMatchedLogEventInternalLocked()
[all …]
DGaugeMetricProducer.cpp141 mCurrentBucketStartTimeNs = startTimeNs; in GaugeMetricProducer()
310 pullAndMatchEventsLocked(mCurrentBucketStartTimeNs); in prepareFirstBucketLocked()
467 if (eventTimeNs < mCurrentBucketStartTimeNs) { in onMatchedLogEventInternalLocked()
469 (long long)mCurrentBucketStartTimeNs); in onMatchedLogEventInternalLocked()
544 (long long)eventTimeNs, (long long)(mCurrentBucketStartTimeNs + mBucketSizeNs)); in flushIfNeededLocked()
555 (long long)mCurrentBucketStartTimeNs); in flushIfNeededLocked()
563 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
570 if (info.mBucketEndNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs) { in flushCurrentBucketLocked()
597 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.h81 mCurrentBucketStartTimeNs(timeBaseNs), in MetricProducer()
328 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()