62EthSender::EthSender(
int txrate) : PeriodicThread((double)txrate/1000.0,
yarp::os::ShouldUseSystemClock::Yes,
yarp::os::PeriodicThreadClock::Absolute)
64 rateofthread = txrate;
65 yDebug() <<
"EthSender is a PeriodicThread with txrate =" << rateofthread <<
"ms";
68#ifdef NETWORK_PERFORMANCE_BENCHMARK
73 double txrate_sec=(double)txrate/1000;
74 m_perEvtVerifier.init(txrate_sec, 5*txrate_sec/100, 0.0, txrate_sec+0.002, 0.0001, 1,
"Sender");