Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp92 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in noteStop()
118 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in noteStopAll()
157 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in flushCurrentBucket()
165 for (auto& durationIt : mStateKeyDurationMap) { in flushCurrentBucket()
253 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in onSlicedConditionMayChange()
316 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += in onConditionChanged()
342 mStateKeyDurationMap[mEventKey.getStateValuesKey()].mDuration += (timestamp - mLastStartTime); in onStateChanged()
435 auto it = mStateKeyDurationMap.find(mEventKey.getStateValuesKey()); in getCurrentStateKeyDuration()
436 if (it == mStateKeyDurationMap.end()) { in getCurrentStateKeyDuration()
444 auto it = mStateKeyDurationMap.find(mEventKey.getStateValuesKey()); in getCurrentStateKeyFullBucketDuration()
[all …]
DDurationTracker.h205 std::unordered_map<HashableDimensionKey, DurationValues> mStateKeyDurationMap; variable
/frameworks/base/cmds/statsd/tests/metrics/
DOringDurationTracker_test.cpp487 EXPECT_EQ(10LL, tracker.mStateKeyDurationMap[DEFAULT_DIMENSION_KEY].mDuration); // 10ns in TEST()