Home
last modified time | relevance | path

Searched refs:mTimeBaseNs (Results 1 – 13 of 13) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/
DDurationMetricProducer.cpp169 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in DurationMetricProducer()
355 mCurrentBucketStartTimeNs, mCurrentBucketNum, mTimeBaseNs, mBucketSizeNs, in createDurationTracker()
360 mCurrentBucketStartTimeNs, mCurrentBucketNum, mTimeBaseNs, mBucketSizeNs, in createDurationTracker()
535 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
732 if (eventTimeNs < mTimeBaseNs) { in handleMatchedLogEventValuesLocked()
DMetricProducer.h482 return mTimeBaseNs + (mCurrentBucketNum + 1) * mBucketSizeNs; in getCurrentBucketEndTimeNs()
486 return (endNs - mTimeBaseNs) / mBucketSizeNs - 1; in getBucketNumFromEndTimeNs()
522 int64_t mTimeBaseNs; variable
DMetricProducer.cpp61 mTimeBaseNs(timeBaseNs), in MetricProducer()
124 if (eventTimeNs < mTimeBaseNs) { in onMatchedLogEventLocked()
DCountMetricProducer.cpp133 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in CountMetricProducer()
247 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
DNumericValueMetricProducer.cpp183 return mTimeBaseNs + ((currentTimeNs - mTimeBaseNs) / mBucketSizeNs) * mBucketSizeNs; in calcPreviousBucketEndTime()
DGaugeMetricProducer.cpp151 (long long)mMetricId, (long long)mBucketSizeNs, (long long)mTimeBaseNs, mConditionSliced);
278 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
DEventMetricProducer.cpp87 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in EventMetricProducer()
DValueMetricProducer.cpp363 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
/packages/modules/StatsD/statsd/tests/e2e/
DAnomaly_duration_sum_e2e_test.cpp116 int64_t bucketStartTimeNs = processor->mTimeBaseNs; in TEST_F()
298 int64_t bucketStartTimeNs = processor->mTimeBaseNs; in TEST_F()
420 int64_t bucketStartTimeNs = processor->mTimeBaseNs; in TEST_F()
510 int64_t bucketStartTimeNs = processor->mTimeBaseNs; in TEST_F()
DConfigUpdate_e2e_test.cpp2429 int64_t bucketStartTimeNs = processor->mTimeBaseNs; in TEST_F()
/packages/modules/StatsD/statsd/tests/
DStatsService_test.cpp222 NanoToMillis(service->mProcessor->mTimeBaseNs + bucketSizeNs)); in TEST_F()
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.cpp113 mTimeBaseNs(timeBaseNs), in StatsLogProcessor()
579 new MetricsManager(key, config, mTimeBaseNs, timestampNs, mUidMap, mPullerManager, in OnConfigUpdatedLocked()
606 configValid = it->second->updateConfig(config, mTimeBaseNs, timestampNs, in OnConfigUpdatedLocked()
1368 SetConfigsActiveStateLocked(activeConfigList, mTimeBaseNs); in LoadActiveConfigsFromDisk()
DStatsLogProcessor.h346 const int64_t mTimeBaseNs; variable