#include <FastMonitoringService.h>
Classes | |
struct | Encoding |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Attributes | |
static const std::string | inputStateNames [FastMonitoringThread::inCOUNT] |
static const std::string | macroStateNames [FastMonitoringThread::MCOUNT] |
static const std::string | nopath_ = "NoPath" |
Static Public Attributes inherited from evf::MicroStateService | |
static const edm::ModuleDescription | reservedMicroStateNames [mCOUNT] |
Private Member Functions | |
void | doSnapshot (const unsigned int ls, const bool isGlobalEOL) |
void | doStreamEOLSnapshot (const unsigned int ls, const unsigned int streamID) |
void | dowork () |
Private Attributes | |
std::map< unsigned int, unsigned long > | accuSize_ |
std::map< unsigned int, double > | avgLeadTime_ |
std::vector< std::atomic< bool > * > | collectedPathList_ |
Encoding | encModule_ |
std::vector< Encoding > | encPath_ |
std::vector< ContainableAtomic< unsigned int > > | eventCountForPathInit_ |
bool | exception_detected_ = false |
std::vector< unsigned int > | exceptionInLS_ |
std::string | fastMicrostateDefPath_ |
unsigned int | fastMonIntervals_ |
std::string | fastName_ |
std::string | fastPath_ |
std::vector< std::string > | fastPathList_ |
timeval | fileLookStart_ |
timeval | fileLookStop_ |
bool | filePerFwkStream_ |
std::map< unsigned int, unsigned int > | filesProcessedDuringLumi_ |
std::vector< unsigned long > | firstEventId_ |
FastMonitoringThread | fmt_ |
std::string | inputLegendFileJson_ |
FedRawDataInputSource * | inputSource_ = 0 |
std::atomic< FastMonitoringThread::InputState > | inputState_ { FastMonitoringThread::InputState::inInit } |
std::atomic< FastMonitoringThread::InputState > | inputSupervisorState_ { FastMonitoringThread::InputState::inInit } |
std::atomic< bool > | isInitTransition_ |
unsigned int | lastGlobalLumi_ |
std::vector< double > | leadTimes_ |
std::map< unsigned int, std::pair< double, unsigned int > > | lockStatsDuringLumi_ |
unsigned int | lumiFromSource_ |
std::map< unsigned int, timeval > | lumiStartTime_ |
std::atomic< FastMonitoringThread::Macrostate > | macrostate_ |
std::vector< ContainableAtomic< const void * > > | microstate_ |
std::string | microstateDefPath_ |
std::vector< ContainableAtomic< const void * > > | ministate_ |
std::string | moduleLegendFile_ |
std::string | moduleLegendFileJson_ |
std::atomic< bool > | monInit_ |
unsigned int | nOutputModules_ =0 |
unsigned int | nStreams_ |
unsigned int | nThreads_ |
std::string | pathLegendFile_ |
std::string | pathLegendFileJson_ |
bool | pathLegendWritten_ = false |
std::vector< bool > | pathNamesReady_ |
std::map< unsigned int, std::pair< unsigned int, bool > > | processedEventsPerLumi_ |
boost::filesystem::path | runDirectory_ |
int | sleepTime_ |
std::string | slowName_ |
unsigned int | snapCounter_ = 0 |
std::vector< std::atomic< bool > * > | streamCounterUpdating_ |
bool | threadIDAvailable_ = false |
std::vector< ContainableAtomic< const void * > > | threadMicrostate_ |
std::atomic< unsigned long > | totalEventsProcessed_ |
boost::filesystem::path | workingDirectory_ |
Additional Inherited Members | |
Public Types inherited from evf::MicroStateService | |
enum | Microstate { mInvalid = 0, mIdle, mFwkOvhSrc, mFwkOvhMod, mFwkEoL, mInput, mDqm, mBoL, mEoL, mGlobEoL, mCOUNT } |
Static Protected Attributes inherited from evf::MicroStateService | |
static const std::string | default_return_ ="NotImplemented" |
Definition at line 71 of file FastMonitoringService.h.
evf::FastMonitoringService::FastMonitoringService | ( | const edm::ParameterSet & | iPS, |
edm::ActivityRegistry & | reg | ||
) |
Definition at line 60 of file FastMonitoringService.cc.
References Exception, fastMicrostateDefPath_, jobFailure(), microstateDefPath_, postBeginJob(), postEndJob(), postEvent(), postGlobalEndLumi(), postModuleEvent(), postSourceEvent(), postStreamBeginLumi(), postStreamEndLumi(), preallocate(), preBeginJob(), preEvent(), preGlobalBeginLumi(), preGlobalEarlyTermination(), preGlobalEndLumi(), preModuleBeginJob(), preModuleEvent(), prePathEvent(), preSourceEarlyTermination(), preSourceEvent(), preStreamBeginLumi(), preStreamEarlyTermination(), preStreamEndLumi(), trackingPlots::stat, AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchJobFailure(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostSourceEvent(), edm::ActivityRegistry::watchPostStreamBeginLumi(), edm::ActivityRegistry::watchPostStreamEndLumi(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreBeginJob(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalEarlyTermination(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreModuleBeginJob(), edm::ActivityRegistry::watchPreModuleEvent(), edm::ActivityRegistry::watchPrePathEvent(), edm::ActivityRegistry::watchPreSourceEarlyTermination(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamEarlyTermination(), and edm::ActivityRegistry::watchPreStreamEndLumi().
|
override |
Definition at line 120 of file FastMonitoringService.cc.
void evf::FastMonitoringService::accumulateFileSize | ( | unsigned int | lumi, |
unsigned long | fileSize | ||
) |
Definition at line 634 of file FastMonitoringService.cc.
References accuSize_, filesProcessedDuringLumi_, fmt_, CommonMethods::lock(), csvLumiCalc::lumi, and evf::FastMonitoringThread::monlock_.
Referenced by evf::EvFDaqDirector::bumpFile().
|
private |
Definition at line 718 of file FastMonitoringService.cc.
References avgLeadTime_, encModule_, evf::FastMonitoringService::Encoding::encode(), encPath_, evf::FastMonitoringThread::MonitorData::fastAvgLeadTimeJ_, evf::FastMonitoringThread::MonitorData::fastFilesProcessedJ_, evf::FastMonitoringThread::MonitorData::fastLockCountJ_, evf::FastMonitoringThread::MonitorData::fastLockWaitJ_, evf::FastMonitoringThread::MonitorData::fastMacrostateJ_, filesProcessedDuringLumi_, fmt_, mps_fire::i, evf::FastMonitoringThread::inNewLumi, evf::FastMonitoringThread::inNoRequest, evf::FastMonitoringThread::inNoRequestWithEoLThreads, evf::FastMonitoringThread::inNoRequestWithIdleThreads, evf::FastMonitoringThread::MonitorData::inputState_, inputState_, inputSupervisorState_, evf::FastMonitoringThread::inRunEnd, evf::FastMonitoringThread::inSupBusy, evf::FastMonitoringThread::inSupFileLimit, evf::FastMonitoringThread::inSupLockPolling, evf::FastMonitoringThread::inSupLockPollingCopying, evf::FastMonitoringThread::inSupNewFile, evf::FastMonitoringThread::inSupNewFileWaitChunk, evf::FastMonitoringThread::inSupNewFileWaitChunkCopying, evf::FastMonitoringThread::inSupNewFileWaitThread, evf::FastMonitoringThread::inSupNewFileWaitThreadCopying, evf::FastMonitoringThread::inSupNoFile, evf::FastMonitoringThread::inSupWaitFreeChunk, evf::FastMonitoringThread::inSupWaitFreeChunkCopying, evf::FastMonitoringThread::inSupWaitFreeThread, evf::FastMonitoringThread::inSupWaitFreeThreadCopying, evf::FastMonitoringThread::inWaitChunk, evf::FastMonitoringThread::inWaitChunk_busy, evf::FastMonitoringThread::inWaitChunk_fileLimit, evf::FastMonitoringThread::inWaitChunk_lockPolling, evf::FastMonitoringThread::inWaitChunk_lockPollingCopying, evf::FastMonitoringThread::inWaitChunk_newFile, evf::FastMonitoringThread::inWaitChunk_newFileWaitChunk, evf::FastMonitoringThread::inWaitChunk_newFileWaitChunkCopying, evf::FastMonitoringThread::inWaitChunk_newFileWaitThread, evf::FastMonitoringThread::inWaitChunk_newFileWaitThreadCopying, evf::FastMonitoringThread::inWaitChunk_noFile, evf::FastMonitoringThread::inWaitChunk_runEnd, evf::FastMonitoringThread::inWaitChunk_waitFreeChunk, evf::FastMonitoringThread::inWaitChunk_waitFreeChunkCopying, evf::FastMonitoringThread::inWaitChunk_waitFreeThread, evf::FastMonitoringThread::inWaitChunk_waitFreeThreadCopying, evf::FastMonitoringThread::inWaitInput, evf::FastMonitoringThread::inWaitInput_busy, evf::FastMonitoringThread::inWaitInput_fileLimit, evf::FastMonitoringThread::inWaitInput_lockPolling, evf::FastMonitoringThread::inWaitInput_lockPollingCopying, evf::FastMonitoringThread::inWaitInput_newFile, evf::FastMonitoringThread::inWaitInput_newFileWaitChunk, evf::FastMonitoringThread::inWaitInput_newFileWaitChunkCopying, evf::FastMonitoringThread::inWaitInput_newFileWaitThread, evf::FastMonitoringThread::inWaitInput_newFileWaitThreadCopying, evf::FastMonitoringThread::inWaitInput_noFile, evf::FastMonitoringThread::inWaitInput_runEnd, evf::FastMonitoringThread::inWaitInput_waitFreeChunk, evf::FastMonitoringThread::inWaitInput_waitFreeChunkCopying, evf::FastMonitoringThread::inWaitInput_waitFreeThread, evf::FastMonitoringThread::inWaitInput_waitFreeThreadCopying, isInitTransition_, evf::FastMonitoringThread::jsonMonitor_, lockStatsDuringLumi_, evf::FastMonitoringThread::m_data, macrostate_, evf::MicroStateService::mEoL, evf::MicroStateService::mFwkEoL, microstate_, evf::FastMonitoringThread::MonitorData::microstateEncoded_, evf::MicroStateService::mIdle, ministate_, evf::FastMonitoringThread::MonitorData::ministateEncoded_, nStreams_, and evf::MicroStateService::reservedMicroStateNames.
Referenced by preGlobalEndLumi().
|
inlineprivate |
Definition at line 195 of file FastMonitoringService.h.
Referenced by preStreamEndLumi().
|
inlineprivate |
Definition at line 200 of file FastMonitoringService.h.
References relativeConstraints::empty, mps_fire::i, CommonMethods::lock(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by preBeginJob().
|
static |
Definition at line 124 of file FastMonitoringService.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::setAllowAnything(), and edm::ParameterSetDescription::setComment().
bool evf::FastMonitoringService::getAbortFlagForLumi | ( | unsigned int | lumi | ) |
Definition at line 704 of file FastMonitoringService.cc.
References Exception, fmt_, CommonMethods::lock(), csvLumiCalc::lumi, evf::FastMonitoringThread::monlock_, and processedEventsPerLumi_.
unsigned int evf::FastMonitoringService::getEventsProcessedForLumi | ( | unsigned int | lumi, |
bool * | abortFlag = 0 |
||
) |
Definition at line 688 of file FastMonitoringService.cc.
References Exception, fmt_, CommonMethods::lock(), csvLumiCalc::lumi, evf::FastMonitoringThread::monlock_, proc, and processedEventsPerLumi_.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), dqm::DQMFileSaverPB::fillJson(), DQMFileSaver::fillJson(), DQMFileSaver::saveForFilterUnit(), and dqm::DQMFileSaverPB::saveLumi().
|
inline |
Definition at line 186 of file FastMonitoringService.h.
void evf::FastMonitoringService::jobFailure | ( | ) |
Definition at line 345 of file FastMonitoringService.cc.
References macrostate_, and evf::FastMonitoringThread::sError.
Referenced by FastMonitoringService().
std::string evf::FastMonitoringService::makeInputLegendaJson | ( | ) |
Definition at line 164 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, mps_fire::i, evf::FastMonitoringThread::inCOUNT, inputStateNames, Json::StyledWriter::write(), and cscNeutronWriter_cfi::writer.
Referenced by postBeginJob().
std::string evf::FastMonitoringService::makeModuleLegendaJson | ( | ) |
Definition at line 148 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, evf::FastMonitoringService::Encoding::current_, evf::FastMonitoringService::Encoding::decode(), encModule_, mps_fire::i, nOutputModules_, nReservedModules, nSpecialModules, Json::StyledWriter::write(), and cscNeutronWriter_cfi::writer.
Referenced by postBeginJob().
std::string evf::FastMonitoringService::makePathLegendaJson | ( | ) |
Definition at line 136 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, encPath_, mps_fire::i, nReservedPaths, Json::StyledWriter::write(), and cscNeutronWriter_cfi::writer.
Referenced by prePathEvent().
void evf::FastMonitoringService::postBeginJob | ( | ) |
Definition at line 367 of file FastMonitoringService.cc.
References encModule_, fmt_, inputLegendFileJson_, CommonMethods::lock(), evf::FastMonitoringThread::m_data, macrostate_, makeInputLegendaJson(), makeModuleLegendaJson(), evf::FastMonitoringThread::MonitorData::microstateBins_, moduleLegendFileJson_, evf::FastMonitoringThread::monlock_, evf::FastMonitoringThread::sJobReady, AlCaHLTBitMon_QueryRunRegistry::string, and evf::FastMonitoringService::Encoding::vecsize().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postEndJob | ( | ) |
Definition at line 382 of file FastMonitoringService.cc.
References fmt_, macrostate_, evf::FastMonitoringThread::sJobEnded, and evf::FastMonitoringThread::stop().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postEvent | ( | edm::StreamContext const & | sc | ) |
Definition at line 581 of file FastMonitoringService.cc.
References eventCountForPathInit_, evf::FastMonitoringThread::MonitorData::fastPathProcessedJ_, fmt_, evf::FastMonitoringThread::m_data, microstate_, evf::MicroStateService::mIdle, ministate_, nopath_, evf::FastMonitoringThread::MonitorData::processed_, evf::MicroStateService::reservedMicroStateNames, edm::StreamContext::streamID(), and totalEventsProcessed_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postGlobalBeginRun | ( | edm::GlobalContext const & | gc | ) |
Definition at line 388 of file FastMonitoringService.cc.
References isInitTransition_, macrostate_, and evf::FastMonitoringThread::sRunning.
void evf::FastMonitoringService::postGlobalEndLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 495 of file FastMonitoringService.cc.
References avgLeadTime_, filesProcessedDuringLumi_, fmt_, CommonMethods::lock(), lockStatsDuringLumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), evf::FastMonitoringThread::monlock_, and processedEventsPerLumi_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postModuleEvent | ( | edm::StreamContext const & | sc, |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 611 of file FastMonitoringService.cc.
References evf::MicroStateService::mFwkOvhMod, microstate_, evf::MicroStateService::reservedMicroStateNames, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postSourceEvent | ( | edm::StreamID | sid | ) |
Definition at line 601 of file FastMonitoringService.cc.
References evf::MicroStateService::mFwkOvhSrc, microstate_, evf::MicroStateService::reservedMicroStateNames, and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postStreamBeginLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 522 of file FastMonitoringService.cc.
References microstate_, evf::MicroStateService::mIdle, evf::MicroStateService::reservedMicroStateNames, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postStreamEndLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 538 of file FastMonitoringService.cc.
References evf::MicroStateService::mFwkEoL, microstate_, evf::MicroStateService::reservedMicroStateNames, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preallocate | ( | edm::service::SystemBounds const & | bounds | ) |
Definition at line 174 of file FastMonitoringService.cc.
References edm::service::SystemBounds::maxNumberOfStreams(), edm::service::SystemBounds::maxNumberOfThreads(), nStreams_, and nThreads_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preBeginJob | ( | edm::PathsAndConsumesOfModulesBase const & | , |
edm::ProcessContext const & | pc | ||
) |
Definition at line 183 of file FastMonitoringService.cc.
References collectedPathList_, evf::FastMonitoringService::Encoding::completeReservedWithDummies(), dowork(), encModule_, encPath_, eventCountForPathInit_, Exception, fastMicrostateDefPath_, fastName_, fastPath_, fastPathList_, filePerFwkStream_, firstEventId_, fmt_, mps_fire::i, evf::FastMonitoringThread::inCOUNT, inputLegendFileJson_, evf::FastMonitoringThread::MonitorData::inputstateBins_, isInitTransition_, evf::FastMonitoringThread::jsonMonitor_, lastGlobalLumi_, LogDebug, lumiFromSource_, evf::FastMonitoringThread::m_data, macrostate_, evf::FastMonitoringThread::MonitorData::macrostateBins_, evf::FastMonitoringThread::MCOUNT, evf::MicroStateService::mCOUNT, microstate_, evf::FastMonitoringThread::MonitorData::microstateBins_, microstateDefPath_, ministate_, evf::FastMonitoringThread::MonitorData::ministateBins_, evf::MicroStateService::mInvalid, moduleLegendFile_, moduleLegendFileJson_, monInit_, nopath_, nStreams_, nThreads_, Utilities::operator, callgraph::path, pathLegendFile_, pathLegendFileJson_, evf::FastMonitoringThread::MonitorData::registerVariables(), evf::MicroStateService::reservedMicroStateNames, evf::FastMonitoringThread::resetFastMonitor(), runDirectory_, evf::FastMonitoringThread::sInit, evf::FastMonitoringThread::start(), streamCounterUpdating_, threadIDAvailable_, evf::FastMonitoringService::Encoding::updateReserved(), and workingDirectory_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preEvent | ( | edm::StreamContext const & | sc | ) |
Definition at line 577 of file FastMonitoringService.cc.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalBeginLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 394 of file FastMonitoringService.cc.
References fmt_, lastGlobalLumi_, CommonMethods::lock(), edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), lumiStartTime_, and evf::FastMonitoringThread::monlock_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalEarlyTermination | ( | edm::GlobalContext const & | gc, |
edm::TerminationOrigin | to | ||
) |
Definition at line 317 of file FastMonitoringService.cc.
References edm::ExceptionFromAnotherContext, edm::ExceptionFromThisContext, exceptionInLS_, edm::ExternalSignal, fmt_, CommonMethods::lock(), edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), evf::FastMonitoringThread::monlock_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalEndLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 407 of file FastMonitoringService.cc.
References accuSize_, doSnapshot(), Exception, exception_detected_, exceptionInLS_, evf::FastMonitoringThread::MonitorData::fastThroughputJ_, filePerFwkStream_, fmt_, FedRawDataInputSource::getEventReport(), inputSource_, evf::FastMonitoringThread::jsonMonitor_, CommonMethods::lock(), LogDebug, csvLumiCalc::lumi, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), lumiStartTime_, evf::FastMonitoringThread::m_data, evf::FastMonitoringThread::monlock_, callgraph::path, processedEventsPerLumi_, edm::shutdown_flag, slowName_, throughputFactor(), jsoncollector::IntJ::value(), jsoncollector::DoubleJ::value(), and workingDirectory_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preModuleBeginJob | ( | edm::ModuleDescription const & | ) |
Definition at line 351 of file FastMonitoringService.cc.
References encModule_, fmt_, CommonMethods::lock(), edm::ModuleDescription::moduleName(), evf::FastMonitoringThread::monlock_, nOutputModules_, evf::FastMonitoringService::Encoding::update(), and evf::FastMonitoringService::Encoding::updateReserved().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preModuleEvent | ( | edm::StreamContext const & | sc, |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 606 of file FastMonitoringService.cc.
References microstate_, edm::ModuleCallingContext::moduleDescription(), edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::prePathEvent | ( | edm::StreamContext const & | sc, |
edm::PathContext const & | pc | ||
) |
Definition at line 544 of file FastMonitoringService.cc.
References collectedPathList_, encPath_, edm::EventID::event(), eventCountForPathInit_, edm::StreamContext::eventID(), firstEventId_, fmt_, CommonMethods::lock(), evf::FastMonitoringThread::m_data, makePathLegendaJson(), ministate_, evf::FastMonitoringThread::MonitorData::ministateBins_, evf::FastMonitoringThread::monlock_, pathLegendFileJson_, pathLegendWritten_, edm::PathContext::pathName(), edm::StreamContext::streamID(), AlCaHLTBitMon_QueryRunRegistry::string, and UNLIKELY.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preSourceEarlyTermination | ( | edm::TerminationOrigin | to | ) |
Definition at line 329 of file FastMonitoringService.cc.
References exception_detected_, edm::ExceptionFromAnotherContext, edm::ExceptionFromThisContext, edm::ExternalSignal, fmt_, CommonMethods::lock(), evf::FastMonitoringThread::monlock_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preSourceEvent | ( | edm::StreamID | sid | ) |
Definition at line 596 of file FastMonitoringService.cc.
References microstate_, evf::MicroStateService::mInput, evf::MicroStateService::reservedMicroStateNames, and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preStreamBeginLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 508 of file FastMonitoringService.cc.
References edm::StreamContext::eventID(), fmt_, CommonMethods::lock(), edm::EventID::luminosityBlock(), evf::FastMonitoringThread::m_data, evf::MicroStateService::mBoL, microstate_, ministate_, evf::FastMonitoringThread::monlock_, nopath_, evf::FastMonitoringThread::MonitorData::processed_, evf::MicroStateService::reservedMicroStateNames, edm::StreamContext::streamID(), evf::FastMonitoringThread::MonitorData::streamLumi_, and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preStreamEarlyTermination | ( | edm::StreamContext const & | sc, |
edm::TerminationOrigin | to | ||
) |
Definition at line 305 of file FastMonitoringService.cc.
References edm::StreamContext::eventID(), edm::ExceptionFromAnotherContext, edm::ExceptionFromThisContext, exceptionInLS_, edm::ExternalSignal, fmt_, CommonMethods::lock(), edm::EventID::luminosityBlock(), evf::FastMonitoringThread::monlock_, edm::StreamContext::streamID(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preStreamEndLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 527 of file FastMonitoringService.cc.
References doStreamEOLSnapshot(), edm::StreamContext::eventID(), fmt_, CommonMethods::lock(), edm::EventID::luminosityBlock(), evf::MicroStateService::mEoL, microstate_, ministate_, evf::FastMonitoringThread::monlock_, nopath_, evf::MicroStateService::reservedMicroStateNames, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::reportLockWait | ( | unsigned int | ls, |
double | waitTime, | ||
unsigned int | lockCount | ||
) |
Definition at line 680 of file FastMonitoringService.cc.
References fmt_, CommonMethods::lock(), lockStatsDuringLumi_, eostools::ls(), and evf::FastMonitoringThread::monlock_.
Referenced by FedRawDataInputSource::readSupervisor().
void evf::FastMonitoringService::setExceptionDetected | ( | unsigned int | ls | ) |
Definition at line 340 of file FastMonitoringService.cc.
References exception_detected_, and exceptionInLS_.
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 187 of file FastMonitoringService.h.
Referenced by FedRawDataInputSource::FedRawDataInputSource().
|
inline |
Definition at line 188 of file FastMonitoringService.h.
Referenced by FedRawDataInputSource::checkNextEvent(), FedRawDataInputSource::FedRawDataInputSource(), FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::read().
|
inline |
Definition at line 189 of file FastMonitoringService.h.
References eostools::ls().
Referenced by FedRawDataInputSource::FedRawDataInputSource(), and FedRawDataInputSource::readSupervisor().
|
overridevirtual |
Implements evf::MicroStateService.
Definition at line 621 of file FastMonitoringService.cc.
References mps_fire::i, microstate_, nStreams_, and evf::MicroStateService::reservedMicroStateNames.
|
overridevirtual |
Implements evf::MicroStateService.
Definition at line 628 of file FastMonitoringService.cc.
References funct::m, microstate_, and evf::MicroStateService::reservedMicroStateNames.
|
inline |
Definition at line 180 of file FastMonitoringService.h.
References proc.
Referenced by DQMFileSaver::globalEndLuminosityBlock(), L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(), and HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary().
void evf::FastMonitoringService::startedLookingForFile | ( | ) |
Definition at line 646 of file FastMonitoringService.cc.
References fileLookStart_.
Referenced by FedRawDataInputSource::readSupervisor().
void evf::FastMonitoringService::stoppedLookingForFile | ( | unsigned int | lumi | ) |
Definition at line 654 of file FastMonitoringService.cc.
References avgLeadTime_, fileLookStart_, fileLookStop_, fmt_, mps_fire::i, leadTimes_, CommonMethods::lock(), csvLumiCalc::lumi, lumiFromSource_, and evf::FastMonitoringThread::monlock_.
Referenced by FedRawDataInputSource::readSupervisor().
|
private |
Definition at line 282 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), and preGlobalEndLumi().
|
private |
Definition at line 279 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalEndLumi(), and stoppedLookingForFile().
|
private |
Definition at line 294 of file FastMonitoringService.h.
Referenced by preBeginJob(), and prePathEvent().
|
private |
Definition at line 245 of file FastMonitoringService.h.
Referenced by doSnapshot(), makeModuleLegendaJson(), postBeginJob(), preBeginJob(), and preModuleBeginJob().
|
private |
Definition at line 246 of file FastMonitoringService.h.
Referenced by doSnapshot(), makePathLegendaJson(), preBeginJob(), and prePathEvent().
|
private |
Definition at line 295 of file FastMonitoringService.h.
Referenced by postEvent(), preBeginJob(), and prePathEvent().
|
private |
Definition at line 313 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), preSourceEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 314 of file FastMonitoringService.h.
Referenced by preGlobalEarlyTermination(), preGlobalEndLumi(), preStreamEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 256 of file FastMonitoringService.h.
Referenced by FastMonitoringService(), and preBeginJob().
|
private |
Definition at line 254 of file FastMonitoringService.h.
|
private |
Definition at line 257 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 257 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 315 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 263 of file FastMonitoringService.h.
Referenced by startedLookingForFile(), and stoppedLookingForFile().
|
private |
Definition at line 263 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 258 of file FastMonitoringService.h.
Referenced by preBeginJob(), and preGlobalEndLumi().
|
private |
Definition at line 280 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), and postGlobalEndLumi().
|
private |
Definition at line 293 of file FastMonitoringService.h.
Referenced by preBeginJob(), and prePathEvent().
|
private |
Definition at line 244 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), getAbortFlagForLumi(), getEventsProcessedForLumi(), postBeginJob(), postEndJob(), postEvent(), postGlobalEndLumi(), preBeginJob(), preGlobalBeginLumi(), preGlobalEarlyTermination(), preGlobalEndLumi(), preModuleBeginJob(), prePathEvent(), preSourceEarlyTermination(), preStreamBeginLumi(), preStreamEarlyTermination(), preStreamEndLumi(), reportLockWait(), and stoppedLookingForFile().
|
private |
Definition at line 308 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 247 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi().
|
private |
Definition at line 248 of file FastMonitoringService.h.
Referenced by doSnapshot().
|
static |
Definition at line 129 of file FastMonitoringService.h.
Referenced by makeInputLegendaJson().
|
private |
Definition at line 249 of file FastMonitoringService.h.
Referenced by doSnapshot().
|
private |
Definition at line 266 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalBeginRun(), and preBeginJob().
|
private |
Definition at line 265 of file FastMonitoringService.h.
Referenced by preBeginJob(), and preGlobalBeginLumi().
|
private |
Definition at line 283 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 284 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalEndLumi(), and reportLockWait().
|
private |
Definition at line 267 of file FastMonitoringService.h.
Referenced by preBeginJob(), and stoppedLookingForFile().
|
private |
Definition at line 262 of file FastMonitoringService.h.
Referenced by preGlobalBeginLumi(), and preGlobalEndLumi().
|
private |
Definition at line 270 of file FastMonitoringService.h.
Referenced by doSnapshot(), jobFailure(), postBeginJob(), postEndJob(), postGlobalBeginRun(), and preBeginJob().
|
static |
Definition at line 128 of file FastMonitoringService.h.
|
private |
Definition at line 274 of file FastMonitoringService.h.
Referenced by doSnapshot(), postEvent(), postModuleEvent(), postSourceEvent(), postStreamBeginLumi(), postStreamEndLumi(), preBeginJob(), preModuleEvent(), preSourceEvent(), preStreamBeginLumi(), preStreamEndLumi(), and setMicroState().
|
private |
Definition at line 256 of file FastMonitoringService.h.
Referenced by FastMonitoringService(), and preBeginJob().
|
private |
Definition at line 273 of file FastMonitoringService.h.
Referenced by doSnapshot(), postEvent(), preBeginJob(), prePathEvent(), preStreamBeginLumi(), and preStreamEndLumi().
|
private |
Definition at line 304 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 305 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 312 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
static |
Definition at line 132 of file FastMonitoringService.h.
Referenced by postEvent(), preBeginJob(), preStreamBeginLumi(), and preStreamEndLumi().
|
private |
Definition at line 310 of file FastMonitoringService.h.
Referenced by makeModuleLegendaJson(), and preModuleBeginJob().
|
private |
Definition at line 251 of file FastMonitoringService.h.
Referenced by doSnapshot(), preallocate(), preBeginJob(), and setMicroState().
|
private |
Definition at line 252 of file FastMonitoringService.h.
Referenced by preallocate(), and preBeginJob().
|
private |
Definition at line 306 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 307 of file FastMonitoringService.h.
Referenced by preBeginJob(), and prePathEvent().
|
private |
Definition at line 309 of file FastMonitoringService.h.
Referenced by prePathEvent().
|
private |
Definition at line 296 of file FastMonitoringService.h.
|
private |
Definition at line 287 of file FastMonitoringService.h.
Referenced by getAbortFlagForLumi(), getEventsProcessedForLumi(), postGlobalEndLumi(), and preGlobalEndLumi().
|
private |
Definition at line 298 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 253 of file FastMonitoringService.h.
|
private |
Definition at line 257 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi().
|
private |
Definition at line 255 of file FastMonitoringService.h.
|
private |
Definition at line 291 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 300 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 275 of file FastMonitoringService.h.
|
private |
Definition at line 302 of file FastMonitoringService.h.
Referenced by postEvent().
|
private |
Definition at line 298 of file FastMonitoringService.h.
Referenced by preBeginJob(), and preGlobalEndLumi().