#include <StatisticsReporter.h>
Private Types | |
typedef std::list< std::string > | InfoSpaceItemNames |
Private Member Functions | |
void | addRunInfoQuantitiesToApplicationInfoSpace () |
void | calculateStatistics () |
void | collectInfoSpaceItems () |
void | createMonitoringInfoSpace () |
bool | monitorAction (toolbox::task::WorkLoop *) |
StatisticsReporter & | operator= (StatisticsReporter const &) |
void | putItemsIntoInfoSpace (MonitorCollection::InfoSpaceItems &) |
StatisticsReporter (StatisticsReporter const &) | |
void | updateInfoSpace () |
Singleton to keep track of all monitoring and statistics issues
This class also starts the monitoring workloop to update the statistics for all MonitorCollections.
Definition at line 51 of file StatisticsReporter.h.
|
private |
Definition at line 163 of file StatisticsReporter.h.
|
explicit |
Definition at line 26 of file StatisticsReporter.cc.
References reset().
|
virtual |
Definition at line 89 of file StatisticsReporter.cc.
References doMonitoring_, and monitorWL_.
|
private |
|
virtual |
Update the variables put into the application info space
Definition at line 345 of file StatisticsReporter.cc.
References closedFiles_, ExpressReco_HICollisions_FallBack::e, edm::hlt::Exception, filesMonCollection_, infoSpace_, stateMachineMonCollection_, stateName_, storedEvents_, streamsMonCollection_, and stor::MonitorCollection::updateInfoSpaceItems().
|
private |
Definition at line 184 of file StatisticsReporter.cc.
References app_, closedFiles_, stateName_, and storedEvents_.
|
inline |
Access alarm handler
Definition at line 153 of file StatisticsReporter.h.
References alarmHandler_.
|
private |
Definition at line 254 of file StatisticsReporter.cc.
References stor::MonitorCollection::calculateStatistics(), dataSenderMonCollection_, dqmConsumerMonCollection_, dqmEventMonCollection_, eventConsumerMonCollection_, filesMonCollection_, fragMonCollection_, stor::utils::getCurrentTime(), cmsPerfSuiteHarvest::now, resourceMonCollection_, runMonCollection_, stateMachineMonCollection_, streamsMonCollection_, and throughputMonCollection_.
Referenced by monitorAction().
|
private |
Definition at line 134 of file StatisticsReporter.cc.
References stor::MonitorCollection::appendInfoSpaceItems(), dataSenderMonCollection_, dqmConsumerMonCollection_, dqmEventMonCollection_, eventConsumerMonCollection_, filesMonCollection_, fragMonCollection_, infoSpaceItemNames_, putItemsIntoInfoSpace(), resourceMonCollection_, runMonCollection_, stateMachineMonCollection_, streamsMonCollection_, and throughputMonCollection_.
|
private |
Definition at line 99 of file StatisticsReporter.cc.
References app_, ExpressReco_HICollisions_FallBack::e, edm::hlt::Exception, and infoSpace_.
|
inline |
Definition at line 91 of file StatisticsReporter.h.
References dataSenderMonCollection_.
|
inline |
Definition at line 94 of file StatisticsReporter.h.
References dataSenderMonCollection_.
|
inline |
Definition at line 126 of file StatisticsReporter.h.
References dqmConsumerMonCollection_.
|
inline |
Definition at line 129 of file StatisticsReporter.h.
References dqmConsumerMonCollection_.
|
inline |
Definition at line 98 of file StatisticsReporter.h.
References dqmEventMonCollection_.
|
inline |
Definition at line 101 of file StatisticsReporter.h.
References dqmEventMonCollection_.
|
inline |
Definition at line 119 of file StatisticsReporter.h.
References eventConsumerMonCollection_.
|
inline |
Definition at line 122 of file StatisticsReporter.h.
References eventConsumerMonCollection_.
|
inline |
Definition at line 77 of file StatisticsReporter.h.
References filesMonCollection_.
|
inline |
Definition at line 80 of file StatisticsReporter.h.
References filesMonCollection_.
|
inline |
Definition at line 70 of file StatisticsReporter.h.
References fragMonCollection_.
|
inline |
Definition at line 73 of file StatisticsReporter.h.
References fragMonCollection_.
|
inline |
Definition at line 105 of file StatisticsReporter.h.
References resourceMonCollection_.
|
inline |
Definition at line 108 of file StatisticsReporter.h.
References resourceMonCollection_.
|
inline |
Definition at line 63 of file StatisticsReporter.h.
References runMonCollection_.
|
inline |
Definition at line 66 of file StatisticsReporter.h.
References runMonCollection_.
|
inline |
Definition at line 112 of file StatisticsReporter.h.
References stateMachineMonCollection_.
|
inline |
Definition at line 115 of file StatisticsReporter.h.
References stateMachineMonCollection_.
|
inline |
Definition at line 84 of file StatisticsReporter.h.
References streamsMonCollection_.
|
inline |
Definition at line 87 of file StatisticsReporter.h.
References streamsMonCollection_.
|
inline |
Definition at line 133 of file StatisticsReporter.h.
References throughputMonCollection_.
|
inline |
Definition at line 136 of file StatisticsReporter.h.
References throughputMonCollection_.
|
private |
Definition at line 201 of file StatisticsReporter.cc.
References app_, calculateStatistics(), doMonitoring_, ExpressReco_HICollisions_FallBack::e, cmsCodeRules.cppFunctionSkipper::exception, edm::hlt::Exception, stor::utils::getCurrentTime(), lastMonitorAction_, monitoringSleepSec_, sharedResources_, stor::utils::sleepUntil(), and updateInfoSpace().
Referenced by startWorkLoop().
|
private |
|
private |
Definition at line 155 of file StatisticsReporter.cc.
References ExpressReco_HICollisions_FallBack::e, edm::hlt::Exception, infoSpace_, and infoSpaceItemNames_.
Referenced by collectInfoSpaceItems().
void stor::StatisticsReporter::reset | ( | void | ) |
Reset all monitored quantities
Definition at line 324 of file StatisticsReporter.cc.
References alarmHandler_, dataSenderMonCollection_, dqmConsumerMonCollection_, dqmEventMonCollection_, eventConsumerMonCollection_, filesMonCollection_, fragMonCollection_, stor::utils::getCurrentTime(), cmsPerfSuiteHarvest::now, stor::MonitorCollection::reset(), resourceMonCollection_, runMonCollection_, streamsMonCollection_, and throughputMonCollection_.
void stor::StatisticsReporter::startWorkLoop | ( | std::string | workloopName | ) |
Create and start the monitoring workloop
Definition at line 57 of file StatisticsReporter.cc.
References app_, doMonitoring_, ExpressReco_HICollisions_FallBack::e, edm::hlt::Exception, stor::utils::getCurrentTime(), stor::utils::getIdentifier(), lastMonitorAction_, monitorAction(), monitorWL_, and runTheMatrix::msg.
|
private |
Definition at line 272 of file StatisticsReporter.cc.
References dataSenderMonCollection_, dqmConsumerMonCollection_, dqmEventMonCollection_, ExpressReco_HICollisions_FallBack::e, eventConsumerMonCollection_, cmsCodeRules.cppFunctionSkipper::exception, edm::hlt::Exception, filesMonCollection_, fragMonCollection_, infoSpace_, infoSpaceItemNames_, resourceMonCollection_, runMonCollection_, stateMachineMonCollection_, streamsMonCollection_, throughputMonCollection_, and stor::MonitorCollection::updateInfoSpaceItems().
Referenced by monitorAction().
|
private |
Definition at line 178 of file StatisticsReporter.h.
Referenced by alarmHandler(), and reset().
|
private |
Definition at line 177 of file StatisticsReporter.h.
Referenced by addRunInfoQuantitiesToApplicationInfoSpace(), createMonitoringInfoSpace(), monitorAction(), and startWorkLoop().
|
private |
Definition at line 207 of file StatisticsReporter.h.
Referenced by actionPerformed(), and addRunInfoQuantitiesToApplicationInfoSpace().
|
private |
Definition at line 187 of file StatisticsReporter.h.
Referenced by calculateStatistics(), collectInfoSpaceItems(), getDataSenderMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 195 of file StatisticsReporter.h.
Referenced by monitorAction(), startWorkLoop(), and ~StatisticsReporter().
|
private |
Definition at line 192 of file StatisticsReporter.h.
Referenced by calculateStatistics(), collectInfoSpaceItems(), getDQMConsumerMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 188 of file StatisticsReporter.h.
Referenced by calculateStatistics(), collectInfoSpaceItems(), getDQMEventMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 191 of file StatisticsReporter.h.
Referenced by calculateStatistics(), collectInfoSpaceItems(), getEventConsumerMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 185 of file StatisticsReporter.h.
Referenced by actionPerformed(), calculateStatistics(), collectInfoSpaceItems(), getFilesMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 184 of file StatisticsReporter.h.
Referenced by calculateStatistics(), collectInfoSpaceItems(), getFragmentMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 198 of file StatisticsReporter.h.
Referenced by actionPerformed(), createMonitoringInfoSpace(), putItemsIntoInfoSpace(), and updateInfoSpace().
|
private |
Definition at line 199 of file StatisticsReporter.h.
Referenced by collectInfoSpaceItems(), putItemsIntoInfoSpace(), and updateInfoSpace().
|
private |
Definition at line 181 of file StatisticsReporter.h.
Referenced by monitorAction(), and startWorkLoop().
|
private |
Definition at line 180 of file StatisticsReporter.h.
Referenced by monitorAction().
|
private |
Definition at line 194 of file StatisticsReporter.h.
Referenced by startWorkLoop(), and ~StatisticsReporter().
|
private |
Definition at line 189 of file StatisticsReporter.h.
Referenced by calculateStatistics(), collectInfoSpaceItems(), getResourceMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 183 of file StatisticsReporter.h.
Referenced by calculateStatistics(), collectInfoSpaceItems(), getRunMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 179 of file StatisticsReporter.h.
Referenced by monitorAction().
|
private |
Definition at line 190 of file StatisticsReporter.h.
Referenced by actionPerformed(), calculateStatistics(), collectInfoSpaceItems(), getStateMachineMonitorCollection(), and updateInfoSpace().
|
private |
Definition at line 205 of file StatisticsReporter.h.
Referenced by actionPerformed(), and addRunInfoQuantitiesToApplicationInfoSpace().
|
private |
Definition at line 206 of file StatisticsReporter.h.
Referenced by actionPerformed(), and addRunInfoQuantitiesToApplicationInfoSpace().
|
private |
Definition at line 186 of file StatisticsReporter.h.
Referenced by actionPerformed(), calculateStatistics(), collectInfoSpaceItems(), getStreamsMonitorCollection(), reset(), and updateInfoSpace().
|
private |
Definition at line 193 of file StatisticsReporter.h.
Referenced by calculateStatistics(), collectInfoSpaceItems(), getThroughputMonitorCollection(), reset(), and updateInfoSpace().