Searched refs:conditionDurationNs (Results 1 – 3 of 3) sorted by relevance
/packages/modules/StatsD/statsd/src/condition/ |
D | ConditionTimer.h | 119 const int64_t conditionDurationNs = mTimerNs; in newBucketStart() local 130 return {conditionDurationNs, conditionCorrectionNs}; in newBucketStart()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | ValueMetricProducer.cpp | 843 const auto [conditionDurationNs, conditionCorrectionNs] = in closeCurrentBucket() 845 bucket.mConditionTrueNs = conditionDurationNs; in closeCurrentBucket()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 6592 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 …]
|