16 allFragmentSizes_(updateInterval, boost::posix_time::
seconds(5)),
17 allFragmentBandwidth_(updateInterval, boost::posix_time::
seconds(5)),
18 eventFragmentSizes_(updateInterval, boost::posix_time::
seconds(5)),
19 eventFragmentBandwidth_(updateInterval, boost::posix_time::
seconds(5)),
20 dqmEventFragmentSizes_(updateInterval, boost::posix_time::
seconds(300)),
21 dqmEventFragmentBandwidth_(updateInterval, boost::posix_time::
seconds(300))
27 double mbytes = bytecount / 0x100000;
34 double mbytes = bytecount / 0x100000;
42 double mbytes = bytecount / 0x100000;
101 infoSpaceItems.push_back(std::make_pair(
"receivedFrames", &
receivedFrames_));
102 infoSpaceItems.push_back(std::make_pair(
"instantBandwidth", &
instantBandwidth_));
103 infoSpaceItems.push_back(std::make_pair(
"instantRate", &
instantRate_));
double getValueRate(DataSetType t=FULL) const
MonitoredQuantity::Stats eventFragmentSizeStats
const MonitoredQuantity & getAllFragmentSizeMQ() const
MonitoredQuantity allFragmentSizes_
const MonitoredQuantity & getDQMEventFragmentSizeMQ() const
virtual void do_appendInfoSpaceItems(InfoSpaceItems &)
FragmentMonitorCollection(const utils::Duration_t &updateInterval)
void addSample(const double &value=1)
uint64_t getSampleCount(DataSetType t=FULL) const
void getStats(Stats &stats) const
MonitoredQuantity eventFragmentBandwidth_
xdata::Double instantBandwidth_
MonitoredQuantity::Stats dqmEventFragmentSizeStats
void calculateStatistics(const utils::TimePoint_t ¤tTime=utils::getCurrentTime())
boost::posix_time::time_duration Duration_t
void getStats(FragmentStats &stats) const
const MonitoredQuantity & getEventFragmentBandwidthMQ() const
MonitoredQuantity::Stats allFragmentSizeStats
MonitoredQuantity allFragmentBandwidth_
MonitoredQuantity eventFragmentSizes_
double getSampleRate(DataSetType t=FULL) const
std::vector< std::pair< std::string, xdata::Serializable * > > InfoSpaceItems
MonitoredQuantity dqmEventFragmentBandwidth_
double getLastValueRate() const
MonitoredQuantity::Stats eventFragmentBandwidthStats
const MonitoredQuantity & getDQMEventFragmentBandwidthMQ() const
MonitoredQuantity dqmEventFragmentSizes_
virtual void do_calculateStatistics()
MonitoredQuantity::Stats dqmEventFragmentBandwidthStats
xdata::UnsignedInteger32 receivedFrames_
const MonitoredQuantity & getEventFragmentSizeMQ() const
virtual void do_updateInfoSpaceItems()
xdata::Double instantRate_
void addDQMEventFragmentSample(const double bytecount)
MonitoredQuantity::Stats allFragmentBandwidthStats
void addEventFragmentSample(const double bytecount)
void addFragmentSample(const double bytecount)
const MonitoredQuantity & getAllFragmentBandwidthMQ() const