Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/e2e/
DEventMetric_e2e_test.cpp76 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local
79 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()
231 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local
234 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
275 uint64_t dumpTimeNs = configUpdateTime + 100 * NS_PER_SEC; in TEST_F() local
278 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
286 processor->onDumpReport(key, dumpTimeNs + 100, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
325 uint64_t dumpTimeNs = bucketStartTimeNs + 2000 * NS_PER_SEC; in TEST_F() local
[all …]
DKllMetric_e2e_test.cpp80 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST_F() local
83 processor->onDumpReport(key, dumpTimeNs, /*include_current_bucket*/ false, true, ADB_DUMP, FAST, in TEST_F()
133 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST_F() local
136 processor->onDumpReport(key, dumpTimeNs, /*include_current_bucket*/ false, true, ADB_DUMP, FAST, in TEST_F()
DConfigUpdate_e2e_test.cpp211 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local
214 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
452 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs + 10 * NS_PER_SEC; in TEST_F() local
455 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
526 ValidateCountBucket(data.bucket_info(1), bucketStartTimeNs + bucketSizeNs, dumpTimeNs, 1, in TEST_F()
742 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs + 10 * NS_PER_SEC; in TEST_F() local
746 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
838 ValidateDurationBucket(data.bucket_info(1), bucketEndTimeNs, dumpTimeNs, in TEST_F()
839 dumpTimeNs - bucketEndTimeNs); in TEST_F()
853 ValidateDurationBucket(data.bucket_info(0), bucketEndTimeNs, dumpTimeNs, 48 * NS_PER_SEC); in TEST_F()
[all …]
DConfigUpdate_e2e_ab_test.cpp329 uint64_t dumpTimeNs = bucketStartTimeNs + 90 * NS_PER_SEC; in TEST_P() local
332 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, NO_TIME_CONSTRAINTS, &buffer); in TEST_P()
364 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
DRestrictedEventMetric_e2e_test.cpp674 uint64_t dumpTimeNs = configAddedTimeNs + 100 * NS_PER_SEC; in TEST_F() local
677 processor->onDumpReport(configKey, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
/packages/modules/StatsD/statsd/src/metrics/
DRestrictedEventMetricProducer.h47 void onDumpReportLocked(const int64_t dumpTimeNs, const bool include_current_partial_bucket,
52 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DMetricProducer.h244 void onDumpReport(const int64_t dumpTimeNs, const bool include_current_partial_bucket, in onDumpReport() argument
248 onDumpReportLocked(dumpTimeNs, include_current_partial_bucket, erase_data, dumpLatency, in onDumpReport()
268 void clearPastBuckets(const int64_t dumpTimeNs) { in clearPastBuckets() argument
270 clearPastBucketsLocked(dumpTimeNs); in clearPastBuckets()
444 virtual void onDumpReportLocked(const int64_t dumpTimeNs,
449 virtual void clearPastBucketsLocked(const int64_t dumpTimeNs) = 0;
DEventMetricProducer.h60 void onDumpReportLocked(const int64_t dumpTimeNs,
66 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DValueMetricProducer.cpp316 const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
324 const int64_t dumpTimeNs, const bool includeCurrentPartialBucket, const bool eraseData, in onDumpReportLocked() argument
331 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
341 invalidateCurrentBucket(dumpTimeNs, BucketDropReason::DUMP_REPORT_REQUESTED); in onDumpReportLocked()
344 pullAndMatchEventsLocked(dumpTimeNs); in onDumpReportLocked()
348 flushCurrentBucketLocked(dumpTimeNs, dumpTimeNs); in onDumpReportLocked()
DRestrictedEventMetricProducer.cpp69 const int64_t dumpTimeNs, const bool include_current_partial_bucket, const bool erase_data, in onDumpReportLocked() argument
91 void RestrictedEventMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
DCountMetricProducer.h75 void onDumpReportLocked(const int64_t dumpTimeNs,
82 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DCountMetricProducer.cpp217 void CountMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
222 void CountMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
228 flushLocked(dumpTimeNs); in onDumpReportLocked()
230 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
DGaugeMetricProducer.cpp243 void GaugeMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
244 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked()
250 void GaugeMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
258 flushLocked(dumpTimeNs); in onDumpReportLocked()
260 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
DDurationMetricProducer.h89 void onDumpReportLocked(const int64_t dumpTimeNs,
96 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DDurationMetricProducer.cpp506 void DurationMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
507 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked()
512 const int64_t dumpTimeNs, const bool include_current_partial_bucket, const bool erase_data, in onDumpReportLocked() argument
515 flushLocked(dumpTimeNs); in onDumpReportLocked()
517 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
DGaugeMetricProducer.h118 void onDumpReportLocked(const int64_t dumpTimeNs,
124 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DEventMetricProducer.cpp167 void EventMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
173 void EventMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
DValueMetricProducer.h157 void onDumpReportLocked(const int64_t dumpTimeNs, const bool includeCurrentPartialBucket,
173 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
DMetricsManager.h136 virtual void onDumpReport(const int64_t dumpTimeNs, int64_t wallClockNs,
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.h65 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs, int64_t wallClockNs,
69 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs, int64_t wallClockNs,
74 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs,
/packages/modules/StatsD/statsd/tests/
DStatsLogProcessor_test.cpp75 (const int64_t dumpTimeNs, const int64_t wallClockNs,
215 (const int64_t dumpTimeNs, const int64_t wallClockNs,
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp3524 int64_t dumpTimeNs = bucket4StartTimeNs + 1000; in TEST() local
3529 valueProducer->onDumpReport(dumpTimeNs, true /* include current buckets */, true, in TEST()
3552 EXPECT_EQ(NanoToMillis(dumpTimeNs), in TEST()
3558 EXPECT_EQ(NanoToMillis(dumpTimeNs), dropEvent.drop_time_millis()); in TEST()