#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_ = nullptr |
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 69 of file FastMonitoringService.h.
evf::FastMonitoringService::FastMonitoringService | ( | const edm::ParameterSet & | iPS, |
edm::ActivityRegistry & | reg | ||
) |
Definition at line 112 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(), hgcalPlots::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 170 of file FastMonitoringService.cc.
void evf::FastMonitoringService::accumulateFileSize | ( | unsigned int | lumi, |
unsigned long | fileSize | ||
) |
Definition at line 652 of file FastMonitoringService.cc.
References accuSize_, filesProcessedDuringLumi_, fmt_, CommonMethods::lock(), BXlumiParameters_cfi::lumi, and evf::FastMonitoringThread::monlock_.
Referenced by evf::EvFDaqDirector::bumpFile().
|
private |
Definition at line 741 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_, eostools::ls(), 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 dowork(), and preGlobalEndLumi().
|
inlineprivate |
Definition at line 185 of file FastMonitoringService.h.
References fmt_, evf::FastMonitoringThread::jsonMonitor_, and eostools::ls().
Referenced by preStreamEndLumi().
|
inlineprivate |
Definition at line 190 of file FastMonitoringService.h.
References doSnapshot(), relativeConstraints::empty, encModule_, evf::FastMonitoringService::Encoding::encode(), encPath_, evf::FastMonitoringThread::MonitorData::fastMacrostateJ_, fastMonIntervals_, fastPath_, fastPathList_, filePerFwkStream_, fmt_, mps_fire::i, inputState_, inputStateNames, inputSupervisorState_, evf::FastMonitoringThread::jsonMonitor_, lastGlobalLumi_, CommonMethods::lock(), evf::FastMonitoringThread::m_data, evf::FastMonitoringThread::m_stoprequest, microstate_, ministate_, monInit_, evf::FastMonitoringThread::monlock_, nStreams_, sleepTime_, snapCounter_, AlCaHLTBitMon_QueryRunRegistry::string, and jsoncollector::IntJ::value().
Referenced by preBeginJob().
|
static |
Definition at line 172 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 726 of file FastMonitoringService.cc.
References Exception, fmt_, CommonMethods::lock(), BXlumiParameters_cfi::lumi, evf::FastMonitoringThread::monlock_, and processedEventsPerLumi_.
Referenced by shouldWriteFiles().
unsigned int evf::FastMonitoringService::getEventsProcessedForLumi | ( | unsigned int | lumi, |
bool * | abortFlag = nullptr |
||
) |
Definition at line 708 of file FastMonitoringService.cc.
References Exception, fmt_, CommonMethods::lock(), BXlumiParameters_cfi::lumi, evf::FastMonitoringThread::monlock_, ValidateTausOnZEEFastSim_cff::proc, and processedEventsPerLumi_.
Referenced by dqm::DQMFileSaverPB::fillJson(), dqmfilesaver::fillJson(), evf::EvFOutputModule::globalEndLuminosityBlock(), dqm::DQMFileSaverPB::saveLumi(), and shouldWriteFiles().
|
inline |
void evf::FastMonitoringService::jobFailure | ( | ) |
Definition at line 399 of file FastMonitoringService.cc.
References macrostate_, and evf::FastMonitoringThread::sError.
Referenced by FastMonitoringService().
std::string evf::FastMonitoringService::makeInputLegendaJson | ( | ) |
Definition at line 213 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, mps_fire::i, evf::FastMonitoringThread::inCOUNT, inputStateNames, and cscNeutronWriter_cfi::writer.
Referenced by postBeginJob().
std::string evf::FastMonitoringService::makeModuleLegendaJson | ( | ) |
Definition at line 196 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, and cscNeutronWriter_cfi::writer.
Referenced by postBeginJob().
std::string evf::FastMonitoringService::makePathLegendaJson | ( | ) |
Definition at line 184 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, encPath_, mps_fire::i, nReservedPaths, and cscNeutronWriter_cfi::writer.
Referenced by prePathEvent().
void evf::FastMonitoringService::postBeginJob | ( | ) |
Definition at line 417 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 431 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 606 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 436 of file FastMonitoringService.cc.
References isInitTransition_, macrostate_, and evf::FastMonitoringThread::sRunning.
void evf::FastMonitoringService::postGlobalEndLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 533 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 632 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 624 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 558 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 572 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 223 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 233 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, castor_dqm_sourceclient_file_cfg::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 604 of file FastMonitoringService.cc.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalBeginLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 441 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 363 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 451 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, BXlumiParameters_cfi::lumi, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), lumiStartTime_, evf::FastMonitoringThread::m_data, evf::FastMonitoringThread::monlock_, castor_dqm_sourceclient_file_cfg::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 & | desc | ) |
Definition at line 402 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 628 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 576 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 378 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 620 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 545 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 348 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 562 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 702 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 392 of file FastMonitoringService.cc.
References exception_detected_, exceptionInLS_, and eostools::ls().
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 178 of file FastMonitoringService.h.
References inputSource_.
Referenced by FedRawDataInputSource::FedRawDataInputSource().
|
inline |
Definition at line 179 of file FastMonitoringService.h.
References inputState_.
Referenced by FedRawDataInputSource::checkNext(), FedRawDataInputSource::FedRawDataInputSource(), FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::read().
|
inline |
Definition at line 180 of file FastMonitoringService.h.
References inputSupervisorState_.
Referenced by FedRawDataInputSource::FedRawDataInputSource(), and FedRawDataInputSource::readSupervisor().
|
overridevirtual |
Implements evf::MicroStateService.
Definition at line 647 of file FastMonitoringService.cc.
References visualization-live-secondInstance_cfg::m, microstate_, and evf::MicroStateService::reservedMicroStateNames.
|
overridevirtual |
Implements evf::MicroStateService.
Definition at line 641 of file FastMonitoringService.cc.
References mps_fire::i, visualization-live-secondInstance_cfg::m, microstate_, nStreams_, and evf::MicroStateService::reservedMicroStateNames.
|
inline |
Definition at line 171 of file FastMonitoringService.h.
References getAbortFlagForLumi(), getEventsProcessedForLumi(), and ValidateTausOnZEEFastSim_cff::proc.
Referenced by HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary(), and L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary().
void evf::FastMonitoringService::startedLookingForFile | ( | ) |
Definition at line 666 of file FastMonitoringService.cc.
References fileLookStart_.
Referenced by FedRawDataInputSource::readSupervisor().
void evf::FastMonitoringService::stoppedLookingForFile | ( | unsigned int | lumi | ) |
Definition at line 674 of file FastMonitoringService.cc.
References avgLeadTime_, fileLookStart_, fileLookStop_, fmt_, mps_fire::i, leadTimes_, CommonMethods::lock(), BXlumiParameters_cfi::lumi, lumiFromSource_, and evf::FastMonitoringThread::monlock_.
Referenced by FedRawDataInputSource::readSupervisor().
|
private |
Definition at line 268 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), and preGlobalEndLumi().
|
private |
Definition at line 265 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalEndLumi(), and stoppedLookingForFile().
|
private |
Definition at line 280 of file FastMonitoringService.h.
Referenced by preBeginJob(), and prePathEvent().
|
private |
Definition at line 231 of file FastMonitoringService.h.
Referenced by doSnapshot(), dowork(), makeModuleLegendaJson(), postBeginJob(), preBeginJob(), and preModuleBeginJob().
|
private |
Definition at line 232 of file FastMonitoringService.h.
Referenced by doSnapshot(), dowork(), makePathLegendaJson(), preBeginJob(), and prePathEvent().
|
private |
Definition at line 281 of file FastMonitoringService.h.
Referenced by postEvent(), preBeginJob(), and prePathEvent().
|
private |
Definition at line 299 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), preSourceEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 300 of file FastMonitoringService.h.
Referenced by preGlobalEarlyTermination(), preGlobalEndLumi(), preStreamEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 242 of file FastMonitoringService.h.
Referenced by FastMonitoringService(), and preBeginJob().
|
private |
Definition at line 240 of file FastMonitoringService.h.
Referenced by dowork().
|
private |
Definition at line 243 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 243 of file FastMonitoringService.h.
Referenced by dowork(), and preBeginJob().
|
private |
Definition at line 301 of file FastMonitoringService.h.
Referenced by dowork(), and preBeginJob().
|
private |
Definition at line 249 of file FastMonitoringService.h.
Referenced by startedLookingForFile(), and stoppedLookingForFile().
|
private |
Definition at line 249 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 244 of file FastMonitoringService.h.
Referenced by dowork(), preBeginJob(), and preGlobalEndLumi().
|
private |
Definition at line 266 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), and postGlobalEndLumi().
|
private |
Definition at line 279 of file FastMonitoringService.h.
Referenced by preBeginJob(), and prePathEvent().
|
private |
Definition at line 230 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), doStreamEOLSnapshot(), dowork(), getAbortFlagForLumi(), getEventsProcessedForLumi(), postBeginJob(), postEndJob(), postEvent(), postGlobalEndLumi(), preBeginJob(), preGlobalBeginLumi(), preGlobalEarlyTermination(), preGlobalEndLumi(), preModuleBeginJob(), prePathEvent(), preSourceEarlyTermination(), preStreamBeginLumi(), preStreamEarlyTermination(), preStreamEndLumi(), reportLockWait(), and stoppedLookingForFile().
|
private |
Definition at line 294 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 233 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), and setInputSource().
|
private |
Definition at line 234 of file FastMonitoringService.h.
Referenced by doSnapshot(), dowork(), and setInState().
|
static |
Definition at line 120 of file FastMonitoringService.h.
Referenced by dowork(), and makeInputLegendaJson().
|
private |
Definition at line 235 of file FastMonitoringService.h.
Referenced by doSnapshot(), dowork(), and setInStateSup().
|
private |
Definition at line 252 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalBeginRun(), and preBeginJob().
|
private |
Definition at line 251 of file FastMonitoringService.h.
Referenced by dowork(), preBeginJob(), and preGlobalBeginLumi().
|
private |
Definition at line 269 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 270 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalEndLumi(), and reportLockWait().
|
private |
Definition at line 253 of file FastMonitoringService.h.
Referenced by preBeginJob(), and stoppedLookingForFile().
|
private |
Definition at line 248 of file FastMonitoringService.h.
Referenced by preGlobalBeginLumi(), and preGlobalEndLumi().
|
private |
Definition at line 256 of file FastMonitoringService.h.
Referenced by doSnapshot(), jobFailure(), postBeginJob(), postEndJob(), postGlobalBeginRun(), and preBeginJob().
|
static |
Definition at line 119 of file FastMonitoringService.h.
|
private |
Definition at line 260 of file FastMonitoringService.h.
Referenced by doSnapshot(), dowork(), postEvent(), postModuleEvent(), postSourceEvent(), postStreamBeginLumi(), postStreamEndLumi(), preBeginJob(), preModuleEvent(), preSourceEvent(), preStreamBeginLumi(), preStreamEndLumi(), and setMicroState().
|
private |
Definition at line 242 of file FastMonitoringService.h.
Referenced by FastMonitoringService(), and preBeginJob().
|
private |
Definition at line 259 of file FastMonitoringService.h.
Referenced by doSnapshot(), dowork(), postEvent(), preBeginJob(), prePathEvent(), preStreamBeginLumi(), and preStreamEndLumi().
|
private |
Definition at line 290 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 291 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 298 of file FastMonitoringService.h.
Referenced by dowork(), and preBeginJob().
|
static |
Definition at line 123 of file FastMonitoringService.h.
Referenced by postEvent(), preBeginJob(), preStreamBeginLumi(), and preStreamEndLumi().
|
private |
Definition at line 296 of file FastMonitoringService.h.
Referenced by makeModuleLegendaJson(), and preModuleBeginJob().
|
private |
Definition at line 237 of file FastMonitoringService.h.
Referenced by doSnapshot(), dowork(), preallocate(), preBeginJob(), and setMicroState().
|
private |
Definition at line 238 of file FastMonitoringService.h.
Referenced by preallocate(), and preBeginJob().
|
private |
Definition at line 292 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 293 of file FastMonitoringService.h.
Referenced by preBeginJob(), and prePathEvent().
|
private |
Definition at line 295 of file FastMonitoringService.h.
Referenced by prePathEvent().
|
private |
Definition at line 282 of file FastMonitoringService.h.
|
private |
Definition at line 273 of file FastMonitoringService.h.
Referenced by getAbortFlagForLumi(), getEventsProcessedForLumi(), postGlobalEndLumi(), and preGlobalEndLumi().
|
private |
Definition at line 284 of file FastMonitoringService.h.
Referenced by getRunDirName(), and preBeginJob().
|
private |
Definition at line 239 of file FastMonitoringService.h.
Referenced by dowork().
|
private |
Definition at line 243 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi().
|
private |
Definition at line 241 of file FastMonitoringService.h.
Referenced by dowork().
|
private |
Definition at line 277 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 286 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 261 of file FastMonitoringService.h.
|
private |
Definition at line 288 of file FastMonitoringService.h.
Referenced by postEvent().
|
private |
Definition at line 284 of file FastMonitoringService.h.
Referenced by preBeginJob(), and preGlobalEndLumi().