Searched refs:mMetricId (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/statsd/src/metrics/ |
D | CountMetricProducer.cpp | 123 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 …]
|
D | ValueMetricProducer.cpp | 186 VLOG("Metric %lld onSlicedConditionMayChange", (long long)mMetricId); in onSlicedConditionMayChangeLocked() 190 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked() 211 VLOG("metric %lld dump report now...", (long long)mMetricId); in onDumpReportLocked() 230 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked() 342 VLOG("metric %lld dump report now...", (long long)mMetricId); in onDumpReportLocked() 352 StatsdStats::getInstance().noteInvalidatedBucket(mMetricId); in invalidateCurrentBucketWithoutResetBase() 416 StatsdStats::getInstance().noteConditionChangeInNextBucket(mMetricId); in onConditionChangedLocked() 505 mMetricId, originalPullTimeNs - bucketEndTime); in onDataPulled() 523 StatsdStats::getInstance().noteLateLogEventSkipped(mMetricId); in accumulateEvents() 585 fprintf(out, "ValueMetric %lld dimension size %lu\n", (long long)mMetricId, in dumpStatesLocked() [all …]
|
D | GaugeMetricProducer.cpp | 163 fprintf(out, "GaugeMetric %lld dimension size %lu\n", (long long)mMetricId, in dumpStatesLocked() 187 VLOG("Gauge metric %lld report now...", (long long)mMetricId); in onDumpReportLocked() 194 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked() 375 VLOG("GaugeMetric %lld onConditionChanged", (long long)mMetricId); in onConditionChangedLocked() 390 VLOG("GaugeMetric %lld onSlicedConditionMayChange overall condition %d", (long long)mMetricId, in onSlicedConditionMayChangeLocked() 449 StatsdStats::getInstance().noteMetricDimensionSize(mConfigKey, mMetricId, newTupleCount); in hitGuardRailLocked() 453 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked() 507 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, in onMatchedLogEventInternalLocked() 532 StatsdStats::getInstance().noteBucketDropped(mMetricId); in dropDataLocked() 556 VLOG("Gauge metric %lld: new bucket start time: %lld", (long long)mMetricId, in flushIfNeededLocked() [all …]
|
D | EventMetricProducer.cpp | 80 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()
|
D | DurationMetricProducer.cpp | 166 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 …]
|
D | MetricProducer.h | 80 : mMetricId(metricId), in MetricProducer() 205 return mMetricId; in getMetricId() 325 const int64_t mMetricId; variable
|
D | MetricProducer.cpp | 194 proto->write(FIELD_TYPE_INT64 | FIELD_ID_ACTIVE_METRIC_ID, (long long)mMetricId); in writeActiveMetricToProtoOutputStream()
|