#include <FragmentMonitorCollection.h>
Classes | |
struct | FragmentStats |
Private Member Functions | |
virtual void | do_appendInfoSpaceItems (InfoSpaceItems &) |
virtual void | do_calculateStatistics () |
virtual void | do_reset () |
virtual void | do_updateInfoSpaceItems () |
FragmentMonitorCollection (FragmentMonitorCollection const &) | |
FragmentMonitorCollection & | operator= (FragmentMonitorCollection const &) |
Private Attributes | |
MonitoredQuantity | allFragmentBandwidth_ |
MonitoredQuantity | allFragmentSizes_ |
MonitoredQuantity | dqmEventFragmentBandwidth_ |
MonitoredQuantity | dqmEventFragmentSizes_ |
MonitoredQuantity | eventFragmentBandwidth_ |
MonitoredQuantity | eventFragmentSizes_ |
xdata::Double | instantBandwidth_ |
xdata::Double | instantRate_ |
xdata::UnsignedInteger32 | receivedFrames_ |
Additional Inherited Members | |
Public Types inherited from stor::MonitorCollection | |
typedef std::vector< std::pair < std::string, xdata::Serializable * > > | InfoSpaceItems |
A collection of MonitoredQuantities related to fragments
Definition at line 23 of file FragmentMonitorCollection.h.
|
explicit |
Definition at line 14 of file FragmentMonitorCollection.cc.
|
private |
void stor::FragmentMonitorCollection::addDQMEventFragmentSample | ( | const double | bytecount | ) |
Add a DQM event fragment size of bytes
Definition at line 40 of file FragmentMonitorCollection.cc.
References stor::MonitoredQuantity::addSample(), allFragmentSizes_, and dqmEventFragmentSizes_.
Referenced by stor::StorageManager::receiveDQMMessage().
void stor::FragmentMonitorCollection::addEventFragmentSample | ( | const double | bytecount | ) |
Add an event fragment size of bytes
Definition at line 32 of file FragmentMonitorCollection.cc.
References stor::MonitoredQuantity::addSample(), allFragmentSizes_, and eventFragmentSizes_.
Referenced by stor::StorageManager::receiveDataMessage(), and stor::StorageManager::receiveErrorDataMessage().
void stor::FragmentMonitorCollection::addFragmentSample | ( | const double | bytecount | ) |
Add a generic fragment size of bytes
Definition at line 25 of file FragmentMonitorCollection.cc.
References stor::MonitoredQuantity::addSample(), and allFragmentSizes_.
Referenced by stor::StorageManager::receiveEndOfLumiSectionMessage().
|
privatevirtual |
Reimplemented from stor::MonitorCollection.
Definition at line 99 of file FragmentMonitorCollection.cc.
References instantBandwidth_, instantRate_, and receivedFrames_.
|
privatevirtual |
Implements stor::MonitorCollection.
Definition at line 60 of file FragmentMonitorCollection.cc.
References stor::MonitoredQuantity::addSample(), allFragmentBandwidth_, allFragmentSizes_, stor::MonitoredQuantity::calculateStatistics(), dqmEventFragmentBandwidth_, dqmEventFragmentSizes_, eventFragmentBandwidth_, eventFragmentSizes_, stor::MonitoredQuantity::Stats::getLastValueRate(), stor::MonitoredQuantity::Stats::getSampleCount(), and stor::MonitoredQuantity::getStats().
|
privatevirtual |
Implements stor::MonitorCollection.
Definition at line 87 of file FragmentMonitorCollection.cc.
References allFragmentBandwidth_, allFragmentSizes_, dqmEventFragmentBandwidth_, dqmEventFragmentSizes_, eventFragmentBandwidth_, eventFragmentSizes_, and stor::MonitoredQuantity::reset().
|
privatevirtual |
Reimplemented from stor::MonitorCollection.
Definition at line 107 of file FragmentMonitorCollection.cc.
References allFragmentBandwidth_, allFragmentSizes_, stor::MonitoredQuantity::Stats::getSampleCount(), stor::MonitoredQuantity::Stats::getSampleRate(), stor::MonitoredQuantity::getStats(), stor::MonitoredQuantity::Stats::getValueRate(), instantBandwidth_, instantRate_, receivedFrames_, and stor::MonitoredQuantity::RECENT.
|
inline |
Definition at line 89 of file FragmentMonitorCollection.h.
References allFragmentBandwidth_.
Referenced by getStats().
|
inline |
Definition at line 92 of file FragmentMonitorCollection.h.
References allFragmentBandwidth_.
|
inline |
Definition at line 68 of file FragmentMonitorCollection.h.
References allFragmentSizes_.
Referenced by getStats(), and stor::StorageManager::receiveRegistryMessage().
|
inline |
Definition at line 71 of file FragmentMonitorCollection.h.
References allFragmentSizes_.
|
inline |
Definition at line 103 of file FragmentMonitorCollection.h.
References dqmEventFragmentBandwidth_.
Referenced by getStats().
|
inline |
Definition at line 106 of file FragmentMonitorCollection.h.
References dqmEventFragmentBandwidth_.
|
inline |
Definition at line 82 of file FragmentMonitorCollection.h.
References dqmEventFragmentSizes_.
Referenced by getStats().
|
inline |
Definition at line 85 of file FragmentMonitorCollection.h.
References dqmEventFragmentSizes_.
|
inline |
Definition at line 96 of file FragmentMonitorCollection.h.
References eventFragmentBandwidth_.
Referenced by getStats().
|
inline |
Definition at line 99 of file FragmentMonitorCollection.h.
References eventFragmentBandwidth_.
|
inline |
Definition at line 75 of file FragmentMonitorCollection.h.
References eventFragmentSizes_.
Referenced by getStats().
|
inline |
Definition at line 78 of file FragmentMonitorCollection.h.
References eventFragmentSizes_.
void stor::FragmentMonitorCollection::getStats | ( | FragmentStats & | stats | ) | const |
Write all our collected statistics into the given Stats struct.
Definition at line 48 of file FragmentMonitorCollection.cc.
References stor::FragmentMonitorCollection::FragmentStats::allFragmentBandwidthStats, stor::FragmentMonitorCollection::FragmentStats::allFragmentSizeStats, stor::FragmentMonitorCollection::FragmentStats::dqmEventFragmentBandwidthStats, stor::FragmentMonitorCollection::FragmentStats::dqmEventFragmentSizeStats, stor::FragmentMonitorCollection::FragmentStats::eventFragmentBandwidthStats, stor::FragmentMonitorCollection::FragmentStats::eventFragmentSizeStats, getAllFragmentBandwidthMQ(), getAllFragmentSizeMQ(), getDQMEventFragmentBandwidthMQ(), getDQMEventFragmentSizeMQ(), getEventFragmentBandwidthMQ(), getEventFragmentSizeMQ(), and stor::MonitoredQuantity::getStats().
Referenced by stor::SMWebPageHelper::addDOMforFragmentMonitor().
|
private |
|
private |
Definition at line 28 of file FragmentMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getAllFragmentBandwidthMQ().
|
private |
Definition at line 27 of file FragmentMonitorCollection.h.
Referenced by addDQMEventFragmentSample(), addEventFragmentSample(), addFragmentSample(), do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getAllFragmentSizeMQ().
|
private |
Definition at line 34 of file FragmentMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), and getDQMEventFragmentBandwidthMQ().
|
private |
Definition at line 33 of file FragmentMonitorCollection.h.
Referenced by addDQMEventFragmentSample(), do_calculateStatistics(), do_reset(), and getDQMEventFragmentSizeMQ().
|
private |
Definition at line 31 of file FragmentMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), and getEventFragmentBandwidthMQ().
|
private |
Definition at line 30 of file FragmentMonitorCollection.h.
Referenced by addEventFragmentSample(), do_calculateStatistics(), do_reset(), and getEventFragmentSizeMQ().
|
private |
Definition at line 128 of file FragmentMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 129 of file FragmentMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 127 of file FragmentMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().