Home
last modified time | relevance | path

Searched refs:dumpTimeNs (Results 1 – 18 of 18) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DEventMetric_e2e_test.cpp77 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local
80 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
148 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local
151 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
232 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local
235 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
DConfigUpdate_e2e_test.cpp190 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local
193 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
431 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs + 10 * NS_PER_SEC; in TEST_F() local
434 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
503 ValidateCountBucket(data.bucket_info(1), bucketStartTimeNs + bucketSizeNs, dumpTimeNs, 1); in TEST_F()
718 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs + 10 * NS_PER_SEC; in TEST_F() local
722 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
812 ValidateDurationBucket(data.bucket_info(1), bucketEndTimeNs, dumpTimeNs, in TEST_F()
813 dumpTimeNs - bucketEndTimeNs); in TEST_F()
827 ValidateDurationBucket(data.bucket_info(0), bucketEndTimeNs, dumpTimeNs, 48 * NS_PER_SEC); in TEST_F()
[all …]
DKllMetric_e2e_test.cpp67 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST_F() local
70 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
DConfigUpdate_e2e_ab_test.cpp334 uint64_t dumpTimeNs = bucketStartTimeNs + 90 * NS_PER_SEC; in TEST_P() local
337 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, NO_TIME_CONSTRAINTS, &buffer); in TEST_P()
369 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.h245 void onDumpReport(const int64_t dumpTimeNs, in onDumpReport() argument
252 return onDumpReportLocked(dumpTimeNs, include_current_partial_bucket, erase_data, in onDumpReport()
272 void clearPastBuckets(const int64_t dumpTimeNs) { in clearPastBuckets() argument
274 return clearPastBucketsLocked(dumpTimeNs); in clearPastBuckets()
431 virtual void onDumpReportLocked(const int64_t dumpTimeNs,
437 virtual void clearPastBucketsLocked(const int64_t dumpTimeNs) = 0;
DEventMetricProducer.h59 void onDumpReportLocked(const int64_t dumpTimeNs,
65 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DCountMetricProducer.cpp202 void CountMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
206 void CountMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
213 flushLocked(dumpTimeNs); in onDumpReportLocked()
215 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
DValueMetricProducer.cpp288 const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
295 const int64_t dumpTimeNs, const bool includeCurrentPartialBucket, const bool eraseData, in onDumpReportLocked() argument
309 invalidateCurrentBucket(dumpTimeNs, BucketDropReason::DUMP_REPORT_REQUESTED); in onDumpReportLocked()
312 pullAndMatchEventsLocked(dumpTimeNs); in onDumpReportLocked()
316 flushCurrentBucketLocked(dumpTimeNs, dumpTimeNs); in onDumpReportLocked()
DGaugeMetricProducer.cpp230 void GaugeMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
231 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked()
236 void GaugeMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
244 flushLocked(dumpTimeNs); in onDumpReportLocked()
246 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
DCountMetricProducer.h72 void onDumpReportLocked(const int64_t dumpTimeNs,
79 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DDurationMetricProducer.cpp483 void DurationMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
484 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked()
488 void DurationMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
495 flushLocked(dumpTimeNs); in onDumpReportLocked()
497 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
DDurationMetricProducer.h89 void onDumpReportLocked(const int64_t dumpTimeNs,
96 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DGaugeMetricProducer.h111 void onDumpReportLocked(const int64_t dumpTimeNs,
117 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DEventMetricProducer.cpp157 void EventMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
162 void EventMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
DValueMetricProducer.h151 void onDumpReportLocked(const int64_t dumpTimeNs, const bool includeCurrentPartialBucket,
167 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DMetricsManager.h135 virtual void onDumpReport(const int64_t dumpTimeNs, const int64_t wallClockNs,
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.h61 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs, const int64_t wallClockNs,
65 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs, const int64_t wallClockNs,
70 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs,
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp3523 int64_t dumpTimeNs = bucket4StartTimeNs + 1000; in TEST() local
3528 valueProducer->onDumpReport(dumpTimeNs, true /* include current buckets */, true, in TEST()
3551 EXPECT_EQ(NanoToMillis(dumpTimeNs), in TEST()
3557 EXPECT_EQ(NanoToMillis(dumpTimeNs), dropEvent.drop_time_millis()); in TEST()