Searched refs:StatsData (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsStats.h | 35 struct StatsData { struct 36 StatsData(const netdutils::IPSockAddr& ipSockAddr) : serverSockAddr(ipSockAddr) { in StatsData() function 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;
|
D | DnsStatsTest.cpp | 56 StatsData makeStatsData(const IPSockAddr& server, const int total, const microseconds& latencyUs, in makeStatsData() 58 StatsData ret(server); in makeStatsData() 117 void verifyDumpOutput(const std::vector<StatsData>& tcpData, in verifyDumpOutput() 118 const std::vector<StatsData>& udpData, in verifyDumpOutput() 119 const std::vector<StatsData>& dotData) { in verifyDumpOutput() 125 const auto check = [&](const std::vector<StatsData>& statsData, const std::string& protocol, in verifyDumpOutput() 158 void verifyDnsStatsContent(Protocol protocol, const std::vector<StatsData>& expectedStats, in verifyDnsStatsContent() 220 std::vector<StatsData> expectedStats; in TEST_F() 256 const std::vector<StatsData> expectedStats = { in TEST_F() 286 const std::vector<StatsData> expectedStatsForTcp = { in TEST_F() [all …]
|
D | DnsStats.cpp | 75 bool StatsData::operator==(const StatsData& o) const { in operator ==() 80 int StatsData::averageLatencyMs() const { in averageLatencyMs() 84 std::string StatsData::toString() const { in toString() 256 std::vector<StatsData> DnsStats::getStats(Protocol protocol) const { in getStats() 257 std::vector<StatsData> ret; in getStats() 275 const StatsData& data = statsRecords.getStatsData(); in dump()
|