Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.h80 mTimeBaseNs(timeBaseNs), in MetricProducer()
309 return mTimeBaseNs + (mCurrentBucketNum + 1) * mBucketSizeNs; in getCurrentBucketEndTimeNs()
313 return (endNs - mTimeBaseNs) / mBucketSizeNs - 1; in getBucketNumFromEndTimeNs()
324 int64_t mTimeBaseNs; variable
DDurationMetricProducer.cpp136 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in DurationMetricProducer()
168 mTimeBaseNs, mBucketSizeNs, mConditionSliced, in createDurationTracker()
174 mTimeBaseNs, mBucketSizeNs, mConditionSliced, in createDurationTracker()
519 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
739 if (eventTimeNs < mTimeBaseNs) { in onMatchedLogEventLocked()
DCountMetricProducer.cpp110 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in CountMetricProducer()
163 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
DValueMetricProducer.cpp159 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in ValueMetricProducer()
231 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
469 return mTimeBaseNs + ((currentTimeNs - mTimeBaseNs) / mBucketSizeNs) * mBucketSizeNs; in calcPreviousBucketEndTime()
DEventMetricProducer.cpp71 (long long)mBucketSizeNs, (long long)mTimeBaseNs); in EventMetricProducer()
DMetricProducer.cpp48 if (eventTimeNs < mTimeBaseNs) { in onMatchedLogEventLocked()
DGaugeMetricProducer.cpp144 (long long)metric.id(), (long long)mBucketSizeNs, (long long)mTimeBaseNs, in GaugeMetricProducer()
199 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp91 mTimeBaseNs(timeBaseNs), in StatsLogProcessor()
314 new MetricsManager(key, config, mTimeBaseNs, timestampNs, mUidMap, mPullerManager, in OnConfigUpdatedLocked()
672 SetConfigsActiveStateLocked(activeConfigList, mTimeBaseNs); in LoadActiveConfigsFromDisk()
DStatsLogProcessor.h211 const int64_t mTimeBaseNs; variable