Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStats.cpp100 : mCapacity(size), mStatsData(ipSockAddr) {} in StatsRecords()
119 mStatsData.total += 1; in updateStatsData()
120 mStatsData.rcodeCounts[rcode] += 1; in updateStatsData()
121 mStatsData.latencyUs += record.latencyUs; in updateStatsData()
123 mStatsData.total -= 1; in updateStatsData()
124 mStatsData.rcodeCounts[rcode] -= 1; in updateStatsData()
125 mStatsData.latencyUs -= record.latencyUs; in updateStatsData()
127 mStatsData.lastUpdate = std::chrono::steady_clock::now(); in updateStatsData()
150 const int avgRtt = mStatsData.averageLatencyMs(); in score()
DDnsStats.h79 const StatsData& getStatsData() const { return mStatsData; } in getStatsData()
93 StatsData mStatsData; variable