17 #ifndef HH_SENF_PPI_RateAnalyzer_ 18 #define HH_SENF_PPI_RateAnalyzer_ 1 21 #include <boost/function.hpp> 22 #include <boost/signals2.hpp> 84 void v_handlePacket(
Packet const & p)
override;
boost::signals2::signal< void(float)> packetsPerSecond
config::time_type clock_type
Generate periodic packet statistics.
High precision regularly signaled event.
void startStatistics(senf::ClockService::clock_type interval)
Start generating statistics at given interval.
Base class providing simple monitor module support.
MonitorModule public header.
#define SENF_PPI_MODULE(name)
Define PPI Module.
struct senf::ppi::module::RateAnalyzer::Statistics signals
boost::signals2::signal< void(unsigned, float, unsigned)> bytesPerPacket
IntervalTimer public header.
boost::signals2::signal< void(float)> bytesPerSecond