Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/metrics/
DGaugeMetricProducer.cpp148 mCurrentBucketStartTimeNs = startTimeNs;
221 pullAndMatchEventsLocked(mCurrentBucketStartTimeNs); in onConfigUpdatedLocked()
384 pullAndMatchEventsLocked(mCurrentBucketStartTimeNs); in prepareFirstBucketLocked()
562 if (eventTimeNs < mCurrentBucketStartTimeNs) { in onMatchedLogEventInternalLocked()
564 (long long)mCurrentBucketStartTimeNs); in onMatchedLogEventInternalLocked()
645 (long long)eventTimeNs, (long long)(mCurrentBucketStartTimeNs + mBucketSizeNs)); in flushIfNeededLocked()
656 (long long)mCurrentBucketStartTimeNs); in flushIfNeededLocked()
665 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
670 bool isBucketLargeEnough = info.mBucketEndNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs; in flushCurrentBucketLocked()
689 mCurrentSkippedBucket.bucketStartTimeNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
[all …]
DValueMetricProducer.cpp142 mCurrentBucketStartTimeNs = bucketOptions.startTimeNs; in ValueMetricProducer()
143 mConditionTimer.newBucketStart(mCurrentBucketStartTimeNs, mCurrentBucketStartTimeNs); in ValueMetricProducer()
147 mCurrentBucketStartTimeNs); in ValueMetricProducer()
281 (long long)mCurrentBucketStartTimeNs); in onStateChanged()
559 (long long)mCurrentBucketStartTimeNs); in onConditionChangedLocked()
695 (long long)mCurrentBucketStartTimeNs); in onMatchedLogEventInternalLocked()
785 VLOG("finalizing bucket for %ld, dumping %d slices", (long)mCurrentBucketStartTimeNs, in flushCurrentBucketLocked()
828 bool isBucketLargeEnough = bucketEndTimeNs - mCurrentBucketStartTimeNs >= mMinBucketSizeNs; in closeCurrentBucket()
864 mCurrentSkippedBucket.bucketStartTimeNs = mCurrentBucketStartTimeNs; in closeCurrentBucket()
924 mCurrentBucketStartTimeNs = nextBucketStartTimeNs; in initNextSlicedBucket()
[all …]
DCountMetricProducer.cpp127 mCurrentBucketStartTimeNs = startTimeNs; in CountMetricProducer()
128 mConditionTimer.newBucketStart(mCurrentBucketStartTimeNs, mCurrentBucketStartTimeNs); in CountMetricProducer()
130 mCurrentBucketStartTimeNs); in CountMetricProducer()
423 (long long)mCurrentBucketStartTimeNs); in flushIfNeededLocked()
450 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucketLocked()
505 mCurrentBucketStartTimeNs = nextBucketStartTimeNs; in flushCurrentBucketLocked()
DDurationMetricProducer.cpp167 mCurrentBucketStartTimeNs = startTimeNs; in DurationMetricProducer()
172 mConditionTimer.newBucketStart(mCurrentBucketStartTimeNs, mCurrentBucketStartTimeNs); in DurationMetricProducer()
174 mCurrentBucketStartTimeNs); in DurationMetricProducer()
355 mCurrentBucketStartTimeNs, mCurrentBucketNum, mTimeBaseNs, mBucketSizeNs, in createDurationTracker()
360 mCurrentBucketStartTimeNs, mCurrentBucketNum, mTimeBaseNs, mBucketSizeNs, in createDurationTracker()
643 mCurrentBucketStartTimeNs = nextBucketStartTimeNs; in flushCurrentBucketLocked()
DNumericValueMetricProducer.cpp167 pullAndMatchEventsLocked(mCurrentBucketStartTimeNs); in prepareFirstBucketLocked()
248 (long long)eventElapsedTimeNs, (long long)mCurrentBucketStartTimeNs); in accumulateEvents()
526 bucket.mBucketStartNs = mCurrentBucketStartTimeNs; in buildPartialBucket()
DKllMetricProducer.cpp143 bucket.mBucketStartNs = mCurrentBucketStartTimeNs; in buildPartialBucket()
DValueMetricProducer.h369 return eventTimeNs < mCurrentBucketStartTimeNs; in isEventLateLocked()
DMetricProducer.cpp62 mCurrentBucketStartTimeNs(timeBaseNs), in MetricProducer()
DMetricProducer.h526 int64_t mCurrentBucketStartTimeNs; variable
/packages/modules/StatsD/statsd/tests/metrics/
DDurationMetricProducer_test.cpp81 EXPECT_EQ(600500000000, durationProducer.mCurrentBucketStartTimeNs); in TEST()
267 EXPECT_EQ(bucketStartTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
284 EXPECT_EQ(partialBucketSplitTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
332 EXPECT_EQ(bucketStartTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
352 EXPECT_EQ(partialBucketSplitTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
447 EXPECT_EQ(bucketStartTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
459 EXPECT_EQ(partialBucketSplitTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
503 EXPECT_EQ(bucketStartTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
515 EXPECT_EQ(partialBucketSplitTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
524 EXPECT_EQ(partialBucketSplitTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P()
[all …]
DCountMetricProducer_test.cpp82 EXPECT_EQ(600500000000, countProducer.mCurrentBucketStartTimeNs); in TEST()
307 EXPECT_EQ(eventTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST_P()
317 EXPECT_EQ(eventTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST_P()
326 EXPECT_EQ(lastEndTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST_P()
371 EXPECT_EQ(eventTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST_P()
427 EXPECT_EQ(bucketStartTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST()
437 EXPECT_EQ(bucketStartTimeNs, countProducer.mCurrentBucketStartTimeNs); in TEST()
451 EXPECT_EQ(bucketStartTimeNs + 60 * NS_PER_SEC, countProducer.mCurrentBucketStartTimeNs); in TEST()
547 EXPECT_EQ(fiveWeeksNs, countProducer.mCurrentBucketStartTimeNs); in TEST()
DKllMetricProducer_test.cpp199 EXPECT_EQ(partialBucketSplitTimeNs, kllProducer->mCurrentBucketStartTimeNs); in TEST_P()
210 EXPECT_EQ(partialBucketSplitTimeNs, kllProducer->mCurrentBucketStartTimeNs); in TEST_P()
222 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, kllProducer->mCurrentBucketStartTimeNs); in TEST_P()
DGaugeMetricProducer_test.cpp111 EXPECT_EQ(600500000000, gaugeProducer.mCurrentBucketStartTimeNs); in TEST()
266 EXPECT_EQ(partialBucketSplitTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST_P()
280 EXPECT_EQ((int64_t)partialBucketSplitTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST_P()
291 EXPECT_EQ((int64_t)bucketStartTimeNs + bucketSizeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST_P()
362 EXPECT_EQ(partialBucketSplitTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST_P()
422 EXPECT_EQ(bucketStartTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST()
DNumericValueMetricProducer_test.cpp290 EXPECT_EQ(600500000000, valueProducer->mCurrentBucketStartTimeNs); in TEST()
404 EXPECT_EQ(partialBucketSplitTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P()
690 EXPECT_EQ(partialBucketSplitTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P()
701 EXPECT_EQ(partialBucketSplitTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P()
714 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P()
756 EXPECT_EQ(partialBucketSplitTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P()
764 EXPECT_EQ(bucket3StartTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P()
797 EXPECT_EQ(bucket2StartTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST()
839 EXPECT_EQ(partialBucketSplitTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P()
2702 EXPECT_EQ(partialBucketSplitTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P()
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp180 current_info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
225 mCurrentBucketStartTimeNs = fullBucketEnd + (numBucketsForward - 1) * mBucketSizeNs; in flushCurrentBucket()
228 mCurrentBucketStartTimeNs = eventTimeNs; in flushCurrentBucket()
230 mLastStartTime = mCurrentBucketStartTimeNs; in flushCurrentBucket()
DMaxDurationTracker.cpp211 info.mBucketStartNs = mCurrentBucketStartTimeNs; in flushCurrentBucket()
222 mCurrentBucketStartTimeNs = fullBucketEnd + (numBucketsForward - 1) * mBucketSizeNs; in flushCurrentBucket()
225 mCurrentBucketStartTimeNs = eventTimeNs; in flushCurrentBucket()
DDurationTracker.h88 mCurrentBucketStartTimeNs(currentBucketStartNs), in DurationTracker()
256 int64_t mCurrentBucketStartTimeNs; variable