Searched refs:aggIndex (Results 1 – 7 of 7) sorted by relevance
/packages/modules/StatsD/statsd/src/metrics/ |
D | KllMetricProducer.cpp | 79 const int aggIndex, const unique_ptr<KllQuantile>& kll, in writePastBucketAggregateToProto() argument 83 protoOutput->write(FIELD_TYPE_INT32 | FIELD_ID_SKETCH_INDEX, aggIndex); in writePastBucketAggregateToProto() 92 VLOG("\t\t sketch %d: %zu bytes", aggIndex, numBytes); in writePastBucketAggregateToProto() 119 interval.aggIndex = i; in aggregateFields() 148 bucket.aggIndex.push_back(interval.aggIndex); in buildPartialBucket() 163 totalSize += bucket.aggIndex.size() * kIntSize; in byteSizeLocked()
|
D | NumericValueMetricProducer.cpp | 115 const int aggIndex, const Value& value, ProtoOutputStream* const protoOutput) const { in writePastBucketAggregateToProto() argument 118 protoOutput->write(FIELD_TYPE_INT32 | FIELD_ID_VALUE_INDEX, aggIndex); in writePastBucketAggregateToProto() 121 VLOG("\t\t value %d: %lld", aggIndex, (long long)value.long_value); in writePastBucketAggregateToProto() 124 VLOG("\t\t value %d: %.2f", aggIndex, value.double_value); in writePastBucketAggregateToProto() 401 interval.aggIndex = i; in aggregateFields() 525 bucket.aggIndex.push_back(interval.aggIndex); in buildPartialBucket()
|
D | ValueMetricProducer.h | 44 std::vector<int> aggIndex; member 261 int aggIndex; member 338 virtual void writePastBucketAggregateToProto(const int aggIndex,
|
D | KllMetricProducer.h | 100 void writePastBucketAggregateToProto(const int aggIndex,
|
D | ValueMetricProducer.cpp | 422 for (int i = 0; i < (int)bucket.aggIndex.size(); i++) { in onDumpReportLocked() 425 writePastBucketAggregateToProto(bucket.aggIndex[i], bucket.aggregates[i], in onDumpReportLocked() 793 if (bucket.aggIndex.empty()) { in closeCurrentBucket()
|
D | NumericValueMetricProducer.h | 131 void writePastBucketAggregateToProto(const int aggIndex, const Value& value,
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 1663 EXPECT_EQ(0, valueProducer->mPastBuckets.begin()->second[0].aggIndex[0]); in TEST() 1665 EXPECT_EQ(1, valueProducer->mPastBuckets.begin()->second[0].aggIndex[1]); in TEST() 1669 EXPECT_EQ(1, valueProducer->mPastBuckets.begin()->second[1].aggIndex[0]); in TEST()
|