Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStats.h35 struct StatsData { struct
36 StatsData(const netdutils::IPSockAddr& ipSockAddr) : sockAddr(ipSockAddr) { in StatsData() argument
61 bool operator==(const StatsData& o) const; argument
62 friend std::ostream& operator<<(std::ostream& os, const StatsData& data) {
80 const StatsData& getStatsData() const { return mStatsData; } in getStatsData()
94 StatsData mStatsData;
129 std::vector<StatsData> getStats(Protocol protocol) const;
DDnsStatsTest.cpp57 StatsData makeStatsData(const IPSockAddr& server, const int total, const microseconds& latencyUs, in makeStatsData()
59 StatsData ret(server); in makeStatsData()
118 void verifyDumpOutput(const std::vector<StatsData>& tcpData, in verifyDumpOutput()
119 const std::vector<StatsData>& udpData, in verifyDumpOutput()
120 const std::vector<StatsData>& dotData, in verifyDumpOutput()
121 const std::vector<StatsData>& mdnsData, in verifyDumpOutput()
122 const std::vector<StatsData>& dohData) { in verifyDumpOutput()
128 const auto check = [&](const std::vector<StatsData>& statsData, const std::string& protocol, in verifyDumpOutput()
163 void verifyDnsStatsContent(Protocol protocol, const std::vector<StatsData>& expectedStats, in verifyDnsStatsContent()
225 std::vector<StatsData> expectedStats; in TEST_F()
[all …]
DDnsStats.cpp74 bool StatsData::operator==(const StatsData& o) const { in operator ==()
79 int StatsData::averageLatencyMs() const { in averageLatencyMs()
83 std::string StatsData::toString() const { in toString()
255 std::vector<StatsData> DnsStats::getStats(Protocol protocol) const { in getStats()
256 std::vector<StatsData> ret; in getStats()
274 const StatsData& data = statsRecords.getStatsData(); in dump()