1 #ifndef _MADARA_FILTERS_COUNTER_FILTER_INL_ 2 #define _MADARA_FILTERS_COUNTER_FILTER_INL_ 42 #endif // _MADARA_FILTERS_COUNTER_FILTER_INL_
knowledge::KnowledgeRecord::Integer last_message_
The time of the last clear of the peer_list.
knowledge::KnowledgeRecord::Integer first_message_
The time to keep record of a peer.
double get_throughput()
Returns the throughput in terms of packets/second.
bool initialized_
Tracks if the first timer has been initialized.
knowledge::KnowledgeRecord::Integer get_count()
Gets the number of packets filtered.
knowledge::KnowledgeRecord::Integer packets_
A map of discovered peers.
knowledge::KnowledgeRecord::Integer get_elapsed()
Returns the duration of filtering from first to last message in seconds.