Searched refs:StatsData (Results 1 – 3 of 3) sorted by relevance
35 struct StatsData { struct36 StatsData(const netdutils::IPSockAddr& ipSockAddr) : serverSockAddr(ipSockAddr) { in StatsData() function61 bool operator==(const StatsData& o) const; argument62 friend std::ostream& operator<<(std::ostream& os, const StatsData& data) {79 const StatsData& getStatsData() const { return mStatsData; } in getStatsData()93 StatsData mStatsData;126 std::vector<StatsData> getStats(Protocol protocol) const;
44 StatsData makeStatsData(const IPSockAddr& server, const int total, const milliseconds& latencyMs, in makeStatsData()46 StatsData ret(server); in makeStatsData()97 void verifyDumpOutput(const std::vector<StatsData>& tcpData, in verifyDumpOutput()98 const std::vector<StatsData>& udpData, in verifyDumpOutput()99 const std::vector<StatsData>& dotData) { in verifyDumpOutput()105 const auto check = [&](const std::vector<StatsData>& statsData, const std::string& protocol, in verifyDumpOutput()189 std::vector<StatsData> expectedStats; in TEST_F()225 const std::vector<StatsData> expectedStats = { in TEST_F()255 const std::vector<StatsData> expectedStatsForTcp = { in TEST_F()259 const std::vector<StatsData> expectedStatsForUdp = { in TEST_F()[all …]
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()232 std::vector<StatsData> DnsStats::getStats(Protocol protocol) const { in getStats()233 std::vector<StatsData> ret; in getStats()251 const StatsData& data = statsRecords.getStatsData(); in dump()