Home
last modified time | relevance | path

Searched refs:mMetricId (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DCountMetricProducer.cpp123 fprintf(out, "CountMetric %lld dimension size %lu\n", (long long)mMetricId, in dumpStatesLocked()
137 VLOG("Metric %lld onSlicedConditionMayChange", (long long)mMetricId); in onSlicedConditionMayChangeLocked()
156 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
246 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
252 VLOG("Metric %lld onConditionChanged", (long long)mMetricId); in onConditionChangedLocked()
264 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
268 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked()
306 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, eventKey, in onMatchedLogEventInternalLocked()
310 VLOG("metric %lld %s->%lld", (long long)mMetricId, eventKey.toString().c_str(), in onMatchedLogEventInternalLocked()
328 VLOG("metric %lld: new bucket start time: %lld", (long long)mMetricId, in flushIfNeededLocked()
[all …]
DValueMetricProducer.cpp181 VLOG("Metric %lld onSlicedConditionMayChange", (long long)mMetricId); in onSlicedConditionMayChangeLocked()
185 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
206 VLOG("metric %lld dump report now...", (long long)mMetricId); in onDumpReportLocked()
225 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
337 VLOG("metric %lld dump report now...", (long long)mMetricId); in onDumpReportLocked()
347 StatsdStats::getInstance().noteInvalidatedBucket(mMetricId); in invalidateCurrentBucketWithoutResetBase()
411 StatsdStats::getInstance().noteConditionChangeInNextBucket(mMetricId); in onConditionChangedLocked()
500 mMetricId, originalPullTimeNs - bucketEndTime); in onDataPulled()
518 StatsdStats::getInstance().noteLateLogEventSkipped(mMetricId); in accumulateEvents()
580 fprintf(out, "ValueMetric %lld dimension size %lu\n", (long long)mMetricId, in dumpStatesLocked()
[all …]
DGaugeMetricProducer.cpp161 fprintf(out, "GaugeMetric %lld dimension size %lu\n", (long long)mMetricId, in dumpStatesLocked()
185 VLOG("Gauge metric %lld report now...", (long long)mMetricId); in onDumpReportLocked()
192 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
373 VLOG("GaugeMetric %lld onConditionChanged", (long long)mMetricId); in onConditionChangedLocked()
388 VLOG("GaugeMetric %lld onSlicedConditionMayChange overall condition %d", (long long)mMetricId, in onSlicedConditionMayChangeLocked()
447 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
451 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked()
505 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, in onMatchedLogEventInternalLocked()
530 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
554 VLOG("Gauge metric %lld: new bucket start time: %lld", (long long)mMetricId, in flushIfNeededLocked()
[all …]
DEventMetricProducer.cpp80 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
114 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
122 (long long)mMetricId, bufferSize); in onDumpReportLocked()
135 VLOG("Metric %lld onConditionChanged", (long long)mMetricId); in onConditionChangedLocked()
DDurationMetricProducer.cpp166 mConfigKey, mMetricId, eventKey, mWizard, mConditionTrackerIndex, in createDurationTracker()
172 mConfigKey, mMetricId, eventKey, mWizard, mConditionTrackerIndex, in createDurationTracker()
428 VLOG("Metric %lld onSlicedConditionMayChange", (long long)mMetricId); in onSlicedConditionMayChangeLocked()
474 VLOG("Metric %lld onConditionChanged", (long long)mMetricId); in onConditionChangedLocked()
491 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked()
511 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
539 VLOG("Duration metric %lld dump report now...", (long long)mMetricId); in onDumpReportLocked()
632 StatsdStats::getInstance().noteBucketCount(mMetricId); in flushCurrentBucketLocked()
641 fprintf(out, "DurationMetric %lld dimension size %lu\n", (long long)mMetricId, in dumpStatesLocked()
664 mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked()
[all …]
DMetricProducer.h78 : mMetricId(metricId), in MetricProducer()
198 return mMetricId; in getMetricId()
318 const int64_t mMetricId; variable
DMetricProducer.cpp193 proto->write(FIELD_TYPE_INT64 | FIELD_ID_ACTIVE_METRIC_ID, (long long)mMetricId); in writeActiveMetricToProtoOutputStream()