Searched refs:mTimeBaseNs (Results 1 – 13 of 13) sorted by relevance
/packages/modules/StatsD/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 169 (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()
|
D | MetricProducer.h | 482 return mTimeBaseNs + (mCurrentBucketNum + 1) * mBucketSizeNs; in getCurrentBucketEndTimeNs() 486 return (endNs - mTimeBaseNs) / mBucketSizeNs - 1; in getBucketNumFromEndTimeNs() 522 int64_t mTimeBaseNs; variable
|
D | MetricProducer.cpp | 61 mTimeBaseNs(timeBaseNs), in MetricProducer() 124 if (eventTimeNs < mTimeBaseNs) { in onMatchedLogEventLocked()
|
D | CountMetricProducer.cpp | 133 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in CountMetricProducer() 247 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
|
D | NumericValueMetricProducer.cpp | 183 return mTimeBaseNs + ((currentTimeNs - mTimeBaseNs) / mBucketSizeNs) * mBucketSizeNs; in calcPreviousBucketEndTime()
|
D | GaugeMetricProducer.cpp | 151 (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()
|
D | EventMetricProducer.cpp | 87 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in EventMetricProducer()
|
D | ValueMetricProducer.cpp | 363 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | Anomaly_duration_sum_e2e_test.cpp | 116 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()
|
D | ConfigUpdate_e2e_test.cpp | 2429 int64_t bucketStartTimeNs = processor->mTimeBaseNs; in TEST_F()
|
/packages/modules/StatsD/statsd/tests/ |
D | StatsService_test.cpp | 222 NanoToMillis(service->mProcessor->mTimeBaseNs + bucketSizeNs)); in TEST_F()
|
/packages/modules/StatsD/statsd/src/ |
D | StatsLogProcessor.cpp | 113 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()
|
D | StatsLogProcessor.h | 346 const int64_t mTimeBaseNs; variable
|