Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStats.cpp99 : mCapacity(size), mStatsData(ipSockAddr) {} in StatsRecords()
127 mStatsData.total += 1; in updateStatsData()
128 mStatsData.rcodeCounts[rcode] += 1; in updateStatsData()
129 mStatsData.latencyUs += record.latencyUs; in updateStatsData()
131 mStatsData.total -= 1; in updateStatsData()
132 mStatsData.rcodeCounts[rcode] -= 1; in updateStatsData()
133 mStatsData.latencyUs -= record.latencyUs; in updateStatsData()
135 mStatsData.lastUpdate = std::chrono::steady_clock::now(); in updateStatsData()
158 const int avgRtt = mStatsData.averageLatencyMs(); in score()
DDnsStats.h80 const StatsData& getStatsData() const { return mStatsData; } in getStatsData()
94 StatsData mStatsData; variable