Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DOperationLimiter.h50 DCHECK(mCounters.empty()) << "Destroying OperationLimiter with active operations"; in ~OperationLimiter()
66 auto& cnt = mCounters[key]; // operator[] creates new entries as needed. in start()
88 auto it = mCounters.find(key); in finish()
89 if (it == mCounters.end()) { in finish()
97 mCounters.erase(it); in finish()
106 std::unordered_map<KeyType, int> mCounters GUARDED_BY(mMutex);
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dprofiler.h33 mCounters() {} in Profiler()
41 time.second / totalTime * 100.0f, time.second, mCounters[time.first]); in ~Profiler()
51 mCounters[id]++; in endTimer()
63 std::unordered_map<int, int> mCounters; variable