#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_ |
bool | emptyLumisectionMode_ = false |
Encoding | encModule_ |
std::vector< Encoding > | encPath_ |
std::vector< 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 |
FastMonitoringThread::InputState | inputState_ |
FastMonitoringThread::InputState | inputSupervisorState_ |
bool | isGlobalLumiTransition_ |
bool | isInitTransition_ |
unsigned int | lastGlobalLumi_ |
std::queue< unsigned int > | lastGlobalLumisClosed_ |
std::vector< double > | leadTimes_ |
std::map< unsigned int, std::pair< double, unsigned int > > | lockStatsDuringLumi_ |
unsigned int | lumiFromSource_ |
std::map< unsigned int, timeval > | lumiStartTime_ |
FastMonitoringThread::Macrostate | macrostate_ |
std::vector< const void * > | microstate_ |
std::string | microstateDefPath_ |
std::vector< 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< 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 57 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(), 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().
evf::FastMonitoringService::~FastMonitoringService | ( | ) |
Definition at line 120 of file FastMonitoringService.cc.
void evf::FastMonitoringService::accumulateFileSize | ( | unsigned int | lumi, |
unsigned long | fileSize | ||
) |
Definition at line 655 of file FastMonitoringService.cc.
References accuSize_, filesProcessedDuringLumi_, fmt_, CommonMethods::lock(), fjr2json::lumi, and evf::FastMonitoringThread::monlock_.
Referenced by evf::EvFDaqDirector::bumpFile().
|
private |
Definition at line 739 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_, i, reco::if(), evf::FastMonitoringThread::inNewLumi, evf::FastMonitoringThread::inNewLumiBusyEndingLS, evf::FastMonitoringThread::inNewLumiIdleEndingLS, evf::FastMonitoringThread::inNoRequest, evf::FastMonitoringThread::inNoRequestWithEoLThreads, evf::FastMonitoringThread::inNoRequestWithGlobalEoL, 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, isGlobalLumiTransition_, isInitTransition_, evf::FastMonitoringThread::jsonMonitor_, lockStatsDuringLumi_, evf::FastMonitoringThread::m_data, macrostate_, evf::MicroStateService::mEoL, evf::MicroStateService::mFwkEoL, evf::MicroStateService::mGlobEoL, 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 181 of file FastMonitoringService.h.
References fmt_, and evf::FastMonitoringThread::jsonMonitor_.
Referenced by preStreamEndLumi().
|
inlineprivate |
Definition at line 186 of file FastMonitoringService.h.
References doSnapshot(), encModule_, evf::FastMonitoringService::Encoding::encode(), encPath_, evf::FastMonitoringThread::MonitorData::fastMacrostateJ_, fastMonIntervals_, fastPath_, fastPathList_, filePerFwkStream_, fmt_, 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_, findQualityFiles::size, sleepTime_, snapCounter_, AlCaHLTBitMon_QueryRunRegistry::string, and jsoncollector::IntJ::value().
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 725 of file FastMonitoringService.cc.
References Exception, fmt_, CommonMethods::lock(), fjr2json::lumi, evf::FastMonitoringThread::monlock_, and processedEventsPerLumi_.
Referenced by shouldWriteFiles().
unsigned int evf::FastMonitoringService::getEventsProcessedForLumi | ( | unsigned int | lumi, |
bool * | abortFlag = 0 |
||
) |
Definition at line 709 of file FastMonitoringService.cc.
References Exception, fmt_, CommonMethods::lock(), fjr2json::lumi, evf::FastMonitoringThread::monlock_, proc, and processedEventsPerLumi_.
Referenced by dqm::DQMFileSaverPB::fillJson(), DQMFileSaver::fillJson(), DQMFileSaver::saveForFilterUnit(), dqm::DQMFileSaverPB::saveLumi(), and shouldWriteFiles().
|
inline |
Definition at line 172 of file FastMonitoringService.h.
References runDirectory_.
void evf::FastMonitoringService::jobFailure | ( | ) |
Definition at line 347 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, i, evf::FastMonitoringThread::inCOUNT, inputStateNames, and Json::StyledWriter::write().
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_, i, nOutputModules_, nReservedModules, nSpecialModules, and Json::StyledWriter::write().
Referenced by postBeginJob().
std::string evf::FastMonitoringService::makePathLegendaJson | ( | ) |
Definition at line 136 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, encPath_, i, nReservedPaths, and Json::StyledWriter::write().
Referenced by prePathEvent().
void evf::FastMonitoringService::postBeginJob | ( | ) |
Definition at line 369 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 384 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 590 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, streamCounterUpdating_, edm::StreamContext::streamID(), and totalEventsProcessed_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postGlobalBeginRun | ( | edm::GlobalContext const & | gc | ) |
Definition at line 390 of file FastMonitoringService.cc.
References isInitTransition_, macrostate_, and evf::FastMonitoringThread::sRunning.
void evf::FastMonitoringService::postGlobalEndLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 507 of file FastMonitoringService.cc.
References lastGlobalLumisClosed_, edm::LuminosityBlockID::luminosityBlock(), and edm::GlobalContext::luminosityBlockID().
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 622 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 526 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 547 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(), emptyLumisectionMode_, encModule_, encPath_, eventCountForPathInit_, Exception, fastMicrostateDefPath_, fastName_, fastPath_, fastPathList_, filePerFwkStream_, firstEventId_, fmt_, i, evf::FastMonitoringThread::inCOUNT, inputLegendFileJson_, evf::FastMonitoringThread::MonitorData::inputstateBins_, isGlobalLumiTransition_, 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_, cppFunctionSkipper::operator, fed_dqm_sourceclient-live_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 586 of file FastMonitoringService.cc.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalBeginLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 396 of file FastMonitoringService.cc.
References accuSize_, avgLeadTime_, filesProcessedDuringLumi_, fmt_, isGlobalLumiTransition_, lastGlobalLumi_, lastGlobalLumisClosed_, CommonMethods::lock(), lockStatsDuringLumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), lumiStartTime_, evf::FastMonitoringThread::monlock_, and processedEventsPerLumi_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalEarlyTermination | ( | edm::GlobalContext const & | gc, |
edm::TerminationOrigin | to | ||
) |
Definition at line 319 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 420 of file FastMonitoringService.cc.
References accuSize_, doSnapshot(), Exception, exception_detected_, exceptionInLS_, evf::FastMonitoringThread::MonitorData::fastThroughputJ_, filePerFwkStream_, fmt_, FedRawDataInputSource::getEventReport(), inputSource_, isGlobalLumiTransition_, evf::FastMonitoringThread::jsonMonitor_, CommonMethods::lock(), LogDebug, fjr2json::lumi, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), lumiStartTime_, evf::FastMonitoringThread::m_data, evf::FastMonitoringThread::monlock_, fed_dqm_sourceclient-live_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 353 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 627 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 553 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 331 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 617 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 513 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 307 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 531 of file FastMonitoringService.cc.
References doStreamEOLSnapshot(), edm::StreamContext::eventID(), fmt_, svgfig::load(), CommonMethods::lock(), edm::EventID::luminosityBlock(), evf::MicroStateService::mEoL, microstate_, ministate_, evf::FastMonitoringThread::monlock_, nopath_, evf::MicroStateService::reservedMicroStateNames, streamCounterUpdating_, 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 701 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 342 of file FastMonitoringService.cc.
References exception_detected_, and exceptionInLS_.
Referenced by FedRawDataInputSource::getNextEvent().
|
inline |
Definition at line 173 of file FastMonitoringService.h.
References inputSource_.
Referenced by FedRawDataInputSource::FedRawDataInputSource().
|
inline |
Definition at line 174 of file FastMonitoringService.h.
References inputState_.
Referenced by FedRawDataInputSource::checkNextEvent(), FedRawDataInputSource::FedRawDataInputSource(), FedRawDataInputSource::getNextEvent(), and FedRawDataInputSource::read().
|
inline |
Definition at line 175 of file FastMonitoringService.h.
References inputSupervisorState_.
Referenced by FedRawDataInputSource::FedRawDataInputSource(), and FedRawDataInputSource::readSupervisor().
|
virtual |
Implements evf::MicroStateService.
Definition at line 642 of file FastMonitoringService.cc.
References i, microstate_, nStreams_, and evf::MicroStateService::reservedMicroStateNames.
|
virtual |
Implements evf::MicroStateService.
Definition at line 649 of file FastMonitoringService.cc.
References visualization-live-secondInstance_cfg::m, microstate_, and evf::MicroStateService::reservedMicroStateNames.
|
inline |
Definition at line 166 of file FastMonitoringService.h.
References emptyLumisectionMode_, getAbortFlagForLumi(), getEventsProcessedForLumi(), and proc.
Referenced by DQMFileSaver::globalEndLuminosityBlock(), HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary(), L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(), and TriggerJSONMonitoring::globalEndLuminosityBlockSummary().
void evf::FastMonitoringService::startedLookingForFile | ( | ) |
Definition at line 667 of file FastMonitoringService.cc.
References fileLookStart_.
Referenced by FedRawDataInputSource::readSupervisor().
void evf::FastMonitoringService::stoppedLookingForFile | ( | unsigned int | lumi | ) |
Definition at line 675 of file FastMonitoringService.cc.
References avgLeadTime_, fileLookStart_, fileLookStop_, fmt_, i, leadTimes_, CommonMethods::lock(), fjr2json::lumi, lumiFromSource_, and evf::FastMonitoringThread::monlock_.
Referenced by FedRawDataInputSource::readSupervisor().
|
private |
Definition at line 270 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), preGlobalBeginLumi(), and preGlobalEndLumi().
|
private |
Definition at line 267 of file FastMonitoringService.h.
Referenced by doSnapshot(), preGlobalBeginLumi(), and stoppedLookingForFile().
|
private |
Definition at line 282 of file FastMonitoringService.h.
Referenced by preBeginJob(), and prePathEvent().
|
private |
Definition at line 303 of file FastMonitoringService.h.
Referenced by preBeginJob(), and shouldWriteFiles().
|
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 283 of file FastMonitoringService.h.
Referenced by postEvent(), preBeginJob(), and prePathEvent().
|
private |
Definition at line 301 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), preSourceEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 302 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 304 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 268 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), and preGlobalBeginLumi().
|
private |
Definition at line 281 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(), preBeginJob(), preGlobalBeginLumi(), preGlobalEarlyTermination(), preGlobalEndLumi(), preModuleBeginJob(), prePathEvent(), preSourceEarlyTermination(), preStreamBeginLumi(), preStreamEarlyTermination(), preStreamEndLumi(), reportLockWait(), and stoppedLookingForFile().
|
private |
Definition at line 296 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 115 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 253 of file FastMonitoringService.h.
Referenced by doSnapshot(), preBeginJob(), preGlobalBeginLumi(), and preGlobalEndLumi().
|
private |
Definition at line 254 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 252 of file FastMonitoringService.h.
Referenced by postGlobalEndLumi(), and preGlobalBeginLumi().
|
private |
Definition at line 271 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 272 of file FastMonitoringService.h.
Referenced by doSnapshot(), preGlobalBeginLumi(), and reportLockWait().
|
private |
Definition at line 255 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 258 of file FastMonitoringService.h.
Referenced by doSnapshot(), jobFailure(), postBeginJob(), postEndJob(), postGlobalBeginRun(), and preBeginJob().
|
static |
Definition at line 114 of file FastMonitoringService.h.
|
private |
Definition at line 262 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 261 of file FastMonitoringService.h.
Referenced by doSnapshot(), dowork(), postEvent(), preBeginJob(), prePathEvent(), preStreamBeginLumi(), and preStreamEndLumi().
|
private |
Definition at line 292 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 293 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 300 of file FastMonitoringService.h.
Referenced by dowork(), and preBeginJob().
|
static |
Definition at line 118 of file FastMonitoringService.h.
Referenced by postEvent(), preBeginJob(), preStreamBeginLumi(), and preStreamEndLumi().
|
private |
Definition at line 298 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 294 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 295 of file FastMonitoringService.h.
Referenced by preBeginJob(), and prePathEvent().
|
private |
Definition at line 297 of file FastMonitoringService.h.
Referenced by prePathEvent().
|
private |
Definition at line 284 of file FastMonitoringService.h.
|
private |
Definition at line 275 of file FastMonitoringService.h.
Referenced by getAbortFlagForLumi(), getEventsProcessedForLumi(), preGlobalBeginLumi(), and preGlobalEndLumi().
|
private |
Definition at line 286 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 279 of file FastMonitoringService.h.
Referenced by postEvent(), preBeginJob(), and preStreamEndLumi().
|
private |
Definition at line 288 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 263 of file FastMonitoringService.h.
|
private |
Definition at line 290 of file FastMonitoringService.h.
Referenced by postEvent().
|
private |
Definition at line 286 of file FastMonitoringService.h.
Referenced by preBeginJob(), and preGlobalEndLumi().