Searched refs:statsMap (Results 1 – 1 of 1) sorted by relevance
168 ServerStatsMap& statsMap = mStats[protocol]; in setServers() local170 statsMap.try_emplace(server, StatsRecords(server, kLogSize)); in setServers()174 const auto cleanup = [&](ServerStatsMap* statsMap) { in setServers() argument177 if (statsMap->find(server) != statsMap->end()) { in setServers()178 tmp.insert(statsMap->extract(server)); in setServers()181 statsMap->swap(tmp); in setServers()184 cleanup(&statsMap); in setServers()244 const auto dumpStatsMap = [&](ServerStatsMap& statsMap) { in dump() argument246 if (statsMap.size() == 0) { in dump()250 for (const auto& [_, statsRecords] : statsMap) { in dump()