| 9 | : m_calculationWindow(calculationWindow), m_stats(), m_totalBytes(0), m_lastMixTime(0) {} |
| 10 | |
| 11 | void PacketStatCollector::mix(size_t size) { |
| 12 | calculate(); |
| 13 | m_totalBytes += size; |
| 14 | } |
| 15 | |
| 16 | void PacketStatCollector::mix(PacketType type, size_t size, bool addToTotal) { |
| 17 | calculate(); |
no outgoing calls
no test coverage detected