Home
last modified time | relevance | path

Searched refs:mConditionKeyMap (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp55 if (mConditionKeyMap.find(newKey) != mConditionKeyMap.end()) { in hitGuardRail()
58 if (mConditionKeyMap.size() > StatsdStats::kDimensionKeySizeSoftLimit - 1) { in hitGuardRail()
59 size_t newTupleCount = mConditionKeyMap.size() + 1; in hitGuardRail()
87 if (mConditionSliced && mConditionKeyMap.find(key) == mConditionKeyMap.end()) { in noteStart()
88 mConditionKeyMap[key] = conditionKey; in noteStart()
101 mConditionKeyMap.erase(key); in noteStop()
116 mConditionKeyMap.erase(key); in noteStop()
135 mConditionKeyMap.clear(); in noteStopAll()
224 const auto& condIt = mConditionKeyMap.find(key); in onSlicedConditionMayChange()
225 if (condIt == mConditionKeyMap.end()) { in onSlicedConditionMayChange()
[all …]
DOringDurationTracker.h71 std::unordered_map<HashableDimensionKey, ConditionKey> mConditionKeyMap; variable