Home
last modified time | relevance | path

Searched refs:conditionDurationNs (Results 1 – 3 of 3) sorted by relevance

/packages/modules/StatsD/statsd/src/condition/
DConditionTimer.h119 const int64_t conditionDurationNs = mTimerNs; in newBucketStart() local
130 return {conditionDurationNs, conditionCorrectionNs}; in newBucketStart()
/packages/modules/StatsD/statsd/src/metrics/
DValueMetricProducer.cpp843 const auto [conditionDurationNs, conditionCorrectionNs] = in closeCurrentBucket()
845 bucket.mConditionTrueNs = conditionDurationNs; in closeCurrentBucket()
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp6592 const int64_t conditionDurationNs = NS_PER_SEC; // 1 sec in TEST() local
6614 valueProducer->onConditionChanged(false, bucketStartTimeNs + conditionDurationNs); in TEST()
6623 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {conditionDurationNs}, {0}, in TEST()
6629 bucket2StartTimeNs + 2 * delayNs + conditionDurationNs); in TEST()
6637 valueProducer->mPastBuckets, {5, 5}, {conditionDurationNs, conditionDurationNs}, {0, 0}, in TEST()
6648 const int64_t conditionDurationNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
6684 false, bucket2StartTimeNs + pullDelayNs + arbitraryIntervalNs + conditionDurationNs); in TEST()
6695 valueProducer->mPastBuckets, {5, 5}, {bucketSizeNs, pullDelayNs + conditionDurationNs}, in TEST()
6707 const int64_t conditionDurationNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
6732 valueProducer->onConditionChanged(false, bucketStartTimeNs + conditionDurationNs); in TEST()
[all …]