#include <FastMonitoringService.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Attributes | |
static const std::string | inputStateNames [FastMonState::inCOUNT] |
static const std::string | macroStateNames [FastMonState::MCOUNT] |
static const std::string | nopath_ = "NoPath" |
static const edm::ModuleDescription | reservedMicroStateNames [FastMonState::mCOUNT] |
Private Member Functions | |
void | doSnapshot (const unsigned int ls, const bool isGlobalEOL) |
void | snapshotRunner () |
Private Attributes | |
std::map< unsigned int, unsigned long > | accuSize_ |
std::map< unsigned int, double > | avgLeadTime_ |
std::vector< std::atomic< bool > * > | collectedPathList_ |
DAQSource * | daqInputSource_ = nullptr |
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::shared_ptr< FastMonitoringThread > | fmt_ |
std::atomic< bool > | has_data_exception_ = false |
std::atomic< bool > | has_source_exception_ = false |
std::string | inputLegendFileJson_ |
FedRawDataInputSource * | inputSource_ = nullptr |
std::atomic< FastMonState::InputState > | inputState_ {FastMonState::InputState::inInit} |
std::atomic< FastMonState::InputState > | inputSupervisorState_ {FastMonState::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::string | microstateDefPath_ |
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_ |
std::vector< bool > | pathNamesReady_ |
std::map< unsigned int, std::pair< unsigned int, bool > > | processedEventsPerLumi_ |
std::filesystem::path | runDirectory_ |
int | sleepTime_ |
std::string | slowName_ |
unsigned int | snapCounter_ = 0 |
std::vector< std::atomic< bool > * > | streamCounterUpdating_ |
bool | threadIDAvailable_ = false |
std::atomic< unsigned long > | totalEventsProcessed_ |
std::filesystem::path | workingDirectory_ |
Definition at line 156 of file FastMonitoringService.h.
evf::FastMonitoringService::FastMonitoringService | ( | const edm::ParameterSet & | iPS, |
edm::ActivityRegistry & | reg | ||
) |
Definition at line 126 of file FastMonitoringService.cc.
References Exception, fastMicrostateDefPath_, jobFailure(), microstateDefPath_, postBeginJob(), postEndJob(), postEvent(), postGlobalEndLumi(), postModuleEvent(), postModuleEventAcquire(), postSourceEvent(), postStreamBeginLumi(), postStreamEndLumi(), preallocate(), preBeginJob(), preEvent(), preGlobalBeginLumi(), preGlobalEarlyTermination(), preGlobalEndLumi(), preModuleBeginJob(), preModuleEvent(), preModuleEventAcquire(), prePathEvent(), preSourceEarlyTermination(), preSourceEvent(), preStreamBeginLumi(), preStreamEarlyTermination(), preStreamEndLumi(), edm_modernize_messagelogger::stat, AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchJobFailure(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostModuleEventAcquire(), 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::watchPreModuleEventAcquire(), edm::ActivityRegistry::watchPrePathEvent(), edm::ActivityRegistry::watchPreSourceEarlyTermination(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamEarlyTermination(), and edm::ActivityRegistry::watchPreStreamEndLumi().
|
override |
Definition at line 187 of file FastMonitoringService.cc.
void evf::FastMonitoringService::accumulateFileSize | ( | unsigned int | lumi, |
unsigned long | fileSize | ||
) |
Definition at line 695 of file FastMonitoringService.cc.
References accuSize_, filesProcessedDuringLumi_, fmt_, CommonMethods::lock(), and BXlumiParameters_cfi::lumi.
Referenced by evf::EvFDaqDirector::bumpFile().
|
private |
Definition at line 844 of file FastMonitoringService.cc.
References avgLeadTime_, filesProcessedDuringLumi_, fmt_, mps_fire::i, caHitNtupletGeneratorKernels::if(), evf::FastMonState::inNewLumi, evf::FastMonState::inNoRequest, evf::FastMonState::inNoRequestWithEoLThreads, evf::FastMonState::inNoRequestWithIdleThreads, inputState_, inputSupervisorState_, evf::FastMonState::inRunEnd, evf::FastMonState::inSupBusy, evf::FastMonState::inSupFileLimit, evf::FastMonState::inSupLockPolling, evf::FastMonState::inSupLockPollingCopying, evf::FastMonState::inSupNewFile, evf::FastMonState::inSupNewFileWaitChunk, evf::FastMonState::inSupNewFileWaitChunkCopying, evf::FastMonState::inSupNewFileWaitThread, evf::FastMonState::inSupNewFileWaitThreadCopying, evf::FastMonState::inSupNoFile, evf::FastMonState::inSupThrottled, evf::FastMonState::inSupWaitFreeChunk, evf::FastMonState::inSupWaitFreeChunkCopying, evf::FastMonState::inSupWaitFreeThread, evf::FastMonState::inSupWaitFreeThreadCopying, evf::FastMonState::inWaitChunk, evf::FastMonState::inWaitChunk_busy, evf::FastMonState::inWaitChunk_fileLimit, evf::FastMonState::inWaitChunk_lockPolling, evf::FastMonState::inWaitChunk_lockPollingCopying, evf::FastMonState::inWaitChunk_newFile, evf::FastMonState::inWaitChunk_newFileWaitChunk, evf::FastMonState::inWaitChunk_newFileWaitChunkCopying, evf::FastMonState::inWaitChunk_newFileWaitThread, evf::FastMonState::inWaitChunk_newFileWaitThreadCopying, evf::FastMonState::inWaitChunk_noFile, evf::FastMonState::inWaitChunk_runEnd, evf::FastMonState::inWaitChunk_waitFreeChunk, evf::FastMonState::inWaitChunk_waitFreeChunkCopying, evf::FastMonState::inWaitChunk_waitFreeThread, evf::FastMonState::inWaitChunk_waitFreeThreadCopying, evf::FastMonState::inWaitInput, evf::FastMonState::inWaitInput_busy, evf::FastMonState::inWaitInput_fileLimit, evf::FastMonState::inWaitInput_lockPolling, evf::FastMonState::inWaitInput_lockPollingCopying, evf::FastMonState::inWaitInput_newFile, evf::FastMonState::inWaitInput_newFileWaitChunk, evf::FastMonState::inWaitInput_newFileWaitChunkCopying, evf::FastMonState::inWaitInput_newFileWaitThread, evf::FastMonState::inWaitInput_newFileWaitThreadCopying, evf::FastMonState::inWaitInput_noFile, evf::FastMonState::inWaitInput_runEnd, evf::FastMonState::inWaitInput_waitFreeChunk, evf::FastMonState::inWaitInput_waitFreeChunkCopying, evf::FastMonState::inWaitInput_waitFreeThread, evf::FastMonState::inWaitInput_waitFreeThreadCopying, isInitTransition_, lockStatsDuringLumi_, eostools::ls(), evf::FastMonState::mEoL, evf::FastMonState::mFwkEoL, evf::FastMonState::mIdle, nStreams_, and reservedMicroStateNames.
Referenced by preGlobalEndLumi(), and snapshotRunner().
bool evf::FastMonitoringService::exceptionDetected | ( | ) | const |
Definition at line 432 of file FastMonitoringService.cc.
References has_data_exception_, and has_source_exception_.
Referenced by DAQSource::~DAQSource(), and FedRawDataInputSource::~FedRawDataInputSource().
|
static |
Definition at line 189 of file FastMonitoringService.cc.
References edm::ConfigurationDescriptions::add(), and submitPVResolutionJobs::desc.
bool evf::FastMonitoringService::getAbortFlagForLumi | ( | unsigned int | lumi | ) |
Definition at line 769 of file FastMonitoringService.cc.
References Exception, fmt_, CommonMethods::lock(), BXlumiParameters_cfi::lumi, and processedEventsPerLumi_.
Referenced by shouldWriteFiles().
unsigned int evf::FastMonitoringService::getEventsProcessedForLumi | ( | unsigned int | lumi, |
bool * | abortFlag = nullptr |
||
) |
Definition at line 751 of file FastMonitoringService.cc.
References Exception, fmt_, CommonMethods::lock(), BXlumiParameters_cfi::lumi, ValidateTausOnZEEFastSim_cff::proc, and processedEventsPerLumi_.
Referenced by dqm::DQMFileSaverPB::fillJson(), dqmfilesaver::fillJson(), evf::EvFOutputModule::globalEndLuminosityBlock(), evf::GlobalEvFOutputModule::globalEndLuminosityBlock(), dqm::DQMFileSaverPB::saveLumi(), and shouldWriteFiles().
|
inline |
Definition at line 221 of file FastMonitoringService.h.
References runDirectory_.
bool evf::FastMonitoringService::isExceptionOnData | ( | unsigned int | ls | ) |
Definition at line 436 of file FastMonitoringService.cc.
References exceptionInLS_, fmt_, has_data_exception_, has_source_exception_, CommonMethods::lock(), and eostools::ls().
Referenced by evf::EvFDaqDirector::preGlobalEndLumi(), FedRawDataInputSource::read(), DAQSource::read(), DAQSource::~DAQSource(), and FedRawDataInputSource::~FedRawDataInputSource().
void evf::FastMonitoringService::jobFailure | ( | ) |
Definition at line 449 of file FastMonitoringService.cc.
References fmt_, and evf::FastMonState::sError.
Referenced by FastMonitoringService().
std::string evf::FastMonitoringService::makeInputLegendaJson | ( | ) |
Definition at line 234 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, mps_fire::i, evf::FastMonState::inCOUNT, inputStateNames, and convertToRaw::writer.
Referenced by postBeginJob().
std::string evf::FastMonitoringService::makeModuleLegendaJson | ( | ) |
Definition at line 213 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, fmt_, mps_fire::i, nOutputModules_, evf::nReservedModules, evf::nSpecialModules, and convertToRaw::writer.
Referenced by postBeginJob().
std::string evf::FastMonitoringService::makePathLegendaJson | ( | ) |
Definition at line 201 of file FastMonitoringService.cc.
References Json::Value::append(), Json::arrayValue, fmt_, mps_fire::i, evf::nReservedPaths, and convertToRaw::writer.
Referenced by postBeginJob().
void evf::FastMonitoringService::postBeginJob | ( | ) |
Definition at line 467 of file FastMonitoringService.cc.
References fmt_, inputLegendFileJson_, CommonMethods::lock(), makeInputLegendaJson(), makeModuleLegendaJson(), makePathLegendaJson(), moduleLegendFileJson_, pathLegendFileJson_, evf::FastMonState::sJobReady, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postEndJob | ( | ) |
Definition at line 485 of file FastMonitoringService.cc.
References fmt_, and evf::FastMonState::sJobEnded.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postEvent | ( | edm::StreamContext const & | sc | ) |
Definition at line 640 of file FastMonitoringService.cc.
References fmt_, evf::FastMonState::mIdle, nopath_, reservedMicroStateNames, edm::StreamContext::streamID(), and totalEventsProcessed_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postGlobalBeginRun | ( | edm::GlobalContext const & | gc | ) |
Definition at line 490 of file FastMonitoringService.cc.
References fmt_, isInitTransition_, and evf::FastMonState::sRunning.
void evf::FastMonitoringService::postGlobalEndLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 590 of file FastMonitoringService.cc.
References avgLeadTime_, filesProcessedDuringLumi_, fmt_, CommonMethods::lock(), lockStatsDuringLumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), and processedEventsPerLumi_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postModuleEvent | ( | edm::StreamContext const & | sc, |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 676 of file FastMonitoringService.cc.
References fmt_, evf::FastMonState::mFwkOvhMod, reservedMicroStateNames, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postModuleEventAcquire | ( | edm::StreamContext const & | sc, |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 665 of file FastMonitoringService.cc.
References fmt_, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postSourceEvent | ( | edm::StreamID | sid | ) |
Definition at line 656 of file FastMonitoringService.cc.
References fmt_, evf::FastMonState::mFwkOvhSrc, reservedMicroStateNames, and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postStreamBeginLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 615 of file FastMonitoringService.cc.
References fmt_, evf::FastMonState::mIdle, reservedMicroStateNames, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postStreamEndLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 630 of file FastMonitoringService.cc.
References fmt_, evf::FastMonState::mFwkEoL, reservedMicroStateNames, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preallocate | ( | edm::service::SystemBounds const & | bounds | ) |
Definition at line 244 of file FastMonitoringService.cc.
References nStreams_, and nThreads_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preBeginJob | ( | edm::PathsAndConsumesOfModulesBase const & | pathsInfo, |
edm::ProcessContext const & | pc | ||
) |
Definition at line 254 of file FastMonitoringService.cc.
References edm::PathsAndConsumesOfModulesBase::endPaths(), Exception, fastMicrostateDefPath_, fastName_, fastPath_, fastPathList_, filePerFwkStream_, fmt_, mps_fire::i, evf::FastMonState::inCOUNT, inputLegendFileJson_, isInitTransition_, lastGlobalLumi_, LogDebug, lumiFromSource_, evf::FastMonState::mCOUNT, evf::FastMonState::MCOUNT, microstateDefPath_, evf::FastMonState::mInvalid, moduleLegendFile_, moduleLegendFileJson_, monInit_, nopath_, nStreams_, nThreads_, Utilities::operator, castor_dqm_sourceclient_file_cfg::path, pathLegendFile_, pathLegendFileJson_, edm::PathsAndConsumesOfModulesBase::paths(), reservedMicroStateNames, runDirectory_, evf::FastMonState::sInit, sleepTime_, snapshotRunner(), streamCounterUpdating_, threadIDAvailable_, and workingDirectory_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preEvent | ( | edm::StreamContext const & | sc | ) |
Definition at line 638 of file FastMonitoringService.cc.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalBeginLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 495 of file FastMonitoringService.cc.
References fmt_, lastGlobalLumi_, CommonMethods::lock(), edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), and lumiStartTime_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalEarlyTermination | ( | edm::GlobalContext const & | gc, |
edm::TerminationOrigin | to | ||
) |
Definition at line 392 of file FastMonitoringService.cc.
References visDQMUpload::context, edm::ExceptionFromAnotherContext, edm::ExceptionFromThisContext, exceptionInLS_, edm::ExternalSignal, fmt_, has_data_exception_, CommonMethods::lock(), edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalEndLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 505 of file FastMonitoringService.cc.
References accuSize_, daqInputSource_, doSnapshot(), Exception, exception_detected_, exceptionInLS_, filePerFwkStream_, fmt_, DAQSource::getEventReport(), FedRawDataInputSource::getEventReport(), inputSource_, CommonMethods::lock(), LogDebug, BXlumiParameters_cfi::lumi, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), lumiStartTime_, convertSQLitetoXML_cfg::output, castor_dqm_sourceclient_file_cfg::path, processedEventsPerLumi_, edm::shutdown_flag, sleepTime_, slowName_, throughputFactor(), jsoncollector::IntJ::value(), and workingDirectory_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preModuleBeginJob | ( | edm::ModuleDescription const & | desc | ) |
Definition at line 452 of file FastMonitoringService.cc.
References submitPVResolutionJobs::desc, fmt_, CommonMethods::lock(), and nOutputModules_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preModuleEvent | ( | edm::StreamContext const & | sc, |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 671 of file FastMonitoringService.cc.
References fmt_, edm::ModuleCallingContext::moduleDescription(), edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preModuleEventAcquire | ( | edm::StreamContext const & | sc, |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 660 of file FastMonitoringService.cc.
References fmt_, 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 634 of file FastMonitoringService.cc.
References fmt_, edm::PathContext::pathName(), and edm::StreamContext::streamID().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preSourceEarlyTermination | ( | edm::TerminationOrigin | to | ) |
Definition at line 408 of file FastMonitoringService.cc.
References visDQMUpload::context, exception_detected_, edm::ExceptionFromAnotherContext, edm::ExceptionFromThisContext, edm::ExternalSignal, fmt_, has_data_exception_, has_source_exception_, CommonMethods::lock(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preSourceEvent | ( | edm::StreamID | sid | ) |
Definition at line 652 of file FastMonitoringService.cc.
References fmt_, evf::FastMonState::mInput, reservedMicroStateNames, and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preStreamBeginLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 602 of file FastMonitoringService.cc.
References edm::StreamContext::eventID(), fmt_, CommonMethods::lock(), edm::EventID::luminosityBlock(), evf::FastMonState::mBoL, nopath_, reservedMicroStateNames, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preStreamEarlyTermination | ( | edm::StreamContext const & | sc, |
edm::TerminationOrigin | to | ||
) |
Definition at line 376 of file FastMonitoringService.cc.
References visDQMUpload::context, edm::StreamContext::eventID(), edm::ExceptionFromAnotherContext, edm::ExceptionFromThisContext, exceptionInLS_, edm::ExternalSignal, fmt_, has_data_exception_, CommonMethods::lock(), edm::EventID::luminosityBlock(), edm::StreamContext::streamID(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preStreamEndLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 619 of file FastMonitoringService.cc.
References edm::StreamContext::eventID(), fmt_, CommonMethods::lock(), edm::EventID::luminosityBlock(), evf::FastMonState::mEoL, nopath_, 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 745 of file FastMonitoringService.cc.
References fmt_, CommonMethods::lock(), lockStatsDuringLumi_, and eostools::ls().
Referenced by FedRawDataInputSource::readSupervisor(), and DAQSource::readSupervisor().
void evf::FastMonitoringService::setExceptionDetected | ( | unsigned int | ls | ) |
Definition at line 424 of file FastMonitoringService.cc.
References exception_detected_, exceptionInLS_, fmt_, CommonMethods::lock(), and eostools::ls().
Referenced by FedRawDataInputSource::getNextEvent(), and DAQSource::getNextEventFromDataBlock().
|
inline |
Definition at line 222 of file FastMonitoringService.h.
References inputSource_.
Referenced by DAQSource::DAQSource(), and FedRawDataInputSource::FedRawDataInputSource().
|
inline |
Definition at line 223 of file FastMonitoringService.h.
References daqInputSource_.
|
inline |
Definition at line 224 of file FastMonitoringService.h.
References inputState_.
Referenced by DAQSource::DAQSource(), FedRawDataInputSource::FedRawDataInputSource(), FedRawDataInputSource::setMonState(), and DAQSource::setMonState().
|
inline |
Definition at line 225 of file FastMonitoringService.h.
References inputSupervisorState_.
Referenced by DAQSource::DAQSource(), FedRawDataInputSource::FedRawDataInputSource(), FedRawDataInputSource::setMonStateSup(), and DAQSource::setMonStateSup().
void evf::FastMonitoringService::setMicroState | ( | FastMonState::Microstate | m | ) |
Definition at line 684 of file FastMonitoringService.cc.
References fmt_, mps_fire::i, visualization-live-secondInstance_cfg::m, nStreams_, and reservedMicroStateNames.
void evf::FastMonitoringService::setMicroState | ( | edm::StreamID | sid, |
FastMonState::Microstate | m | ||
) |
Definition at line 690 of file FastMonitoringService.cc.
References fmt_, visualization-live-secondInstance_cfg::m, and reservedMicroStateNames.
|
inline |
Definition at line 215 of file FastMonitoringService.h.
References getAbortFlagForLumi(), getEventsProcessedForLumi(), and ValidateTausOnZEEFastSim_cff::proc.
Referenced by L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(), and HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary().
|
private |
Definition at line 785 of file FastMonitoringService.cc.
References doSnapshot(), relativeConstraints::empty, f, fastMonIntervals_, fastPath_, fastPathList_, filePerFwkStream_, fmt_, mps_fire::i, inputState_, inputStateNames, inputSupervisorState_, lastGlobalLumi_, CommonMethods::lock(), monInit_, mps_check::msg, nStreams_, AlCaHLTBitMon_ParallelJobs::p, sleepTime_, snapCounter_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by preBeginJob().
void evf::FastMonitoringService::startedLookingForFile | ( | ) |
Definition at line 709 of file FastMonitoringService.cc.
References fileLookStart_.
Referenced by FedRawDataInputSource::readSupervisor(), and DAQSource::readSupervisor().
void evf::FastMonitoringService::stoppedLookingForFile | ( | unsigned int | lumi | ) |
Definition at line 717 of file FastMonitoringService.cc.
References avgLeadTime_, fileLookStart_, fileLookStop_, fmt_, mps_fire::i, leadTimes_, CommonMethods::lock(), BXlumiParameters_cfi::lumi, and lumiFromSource_.
Referenced by FedRawDataInputSource::readSupervisor(), and DAQSource::readSupervisor().
|
private |
Definition at line 264 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), and preGlobalEndLumi().
|
private |
Definition at line 261 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalEndLumi(), and stoppedLookingForFile().
|
private |
Definition at line 275 of file FastMonitoringService.h.
|
private |
Definition at line 237 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), and setInputSource().
|
private |
Definition at line 292 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), preSourceEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 295 of file FastMonitoringService.h.
Referenced by isExceptionOnData(), preGlobalEarlyTermination(), preGlobalEndLumi(), preStreamEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 246 of file FastMonitoringService.h.
Referenced by FastMonitoringService(), and preBeginJob().
|
private |
Definition at line 244 of file FastMonitoringService.h.
Referenced by snapshotRunner().
|
private |
Definition at line 247 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 247 of file FastMonitoringService.h.
Referenced by preBeginJob(), and snapshotRunner().
|
private |
Definition at line 296 of file FastMonitoringService.h.
Referenced by preBeginJob(), and snapshotRunner().
|
private |
Definition at line 253 of file FastMonitoringService.h.
Referenced by startedLookingForFile(), and stoppedLookingForFile().
|
private |
Definition at line 253 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 248 of file FastMonitoringService.h.
Referenced by preBeginJob(), preGlobalEndLumi(), and snapshotRunner().
|
private |
Definition at line 262 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), and postGlobalEndLumi().
|
private |
Definition at line 233 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), getAbortFlagForLumi(), getEventsProcessedForLumi(), isExceptionOnData(), jobFailure(), makeModuleLegendaJson(), makePathLegendaJson(), postBeginJob(), postEndJob(), postEvent(), postGlobalBeginRun(), postGlobalEndLumi(), postModuleEvent(), postModuleEventAcquire(), postSourceEvent(), postStreamBeginLumi(), postStreamEndLumi(), preBeginJob(), preGlobalBeginLumi(), preGlobalEarlyTermination(), preGlobalEndLumi(), preModuleBeginJob(), preModuleEvent(), preModuleEventAcquire(), prePathEvent(), preSourceEarlyTermination(), preSourceEvent(), preStreamBeginLumi(), preStreamEarlyTermination(), preStreamEndLumi(), reportLockWait(), setExceptionDetected(), setMicroState(), snapshotRunner(), and stoppedLookingForFile().
|
private |
Definition at line 294 of file FastMonitoringService.h.
Referenced by exceptionDetected(), isExceptionOnData(), preGlobalEarlyTermination(), preSourceEarlyTermination(), and preStreamEarlyTermination().
|
private |
Definition at line 293 of file FastMonitoringService.h.
Referenced by exceptionDetected(), isExceptionOnData(), and preSourceEarlyTermination().
|
private |
Definition at line 288 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 236 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), and setInputSource().
|
private |
Definition at line 238 of file FastMonitoringService.h.
Referenced by doSnapshot(), setInState(), and snapshotRunner().
|
static |
Definition at line 161 of file FastMonitoringService.h.
Referenced by makeInputLegendaJson(), and snapshotRunner().
|
private |
Definition at line 239 of file FastMonitoringService.h.
Referenced by doSnapshot(), setInStateSup(), and snapshotRunner().
|
private |
Definition at line 256 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalBeginRun(), and preBeginJob().
|
private |
Definition at line 255 of file FastMonitoringService.h.
Referenced by preBeginJob(), preGlobalBeginLumi(), and snapshotRunner().
|
private |
Definition at line 265 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 266 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalEndLumi(), and reportLockWait().
|
private |
Definition at line 257 of file FastMonitoringService.h.
Referenced by preBeginJob(), and stoppedLookingForFile().
|
private |
Definition at line 252 of file FastMonitoringService.h.
Referenced by preGlobalBeginLumi(), and preGlobalEndLumi().
|
static |
Definition at line 160 of file FastMonitoringService.h.
|
private |
Definition at line 246 of file FastMonitoringService.h.
Referenced by FastMonitoringService(), and preBeginJob().
|
private |
Definition at line 284 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 285 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 291 of file FastMonitoringService.h.
Referenced by preBeginJob(), and snapshotRunner().
|
static |
Definition at line 163 of file FastMonitoringService.h.
Referenced by postEvent(), preBeginJob(), preStreamBeginLumi(), and preStreamEndLumi().
|
private |
Definition at line 289 of file FastMonitoringService.h.
Referenced by makeModuleLegendaJson(), and preModuleBeginJob().
|
private |
Definition at line 241 of file FastMonitoringService.h.
Referenced by doSnapshot(), preallocate(), preBeginJob(), setMicroState(), and snapshotRunner().
|
private |
Definition at line 242 of file FastMonitoringService.h.
Referenced by preallocate(), and preBeginJob().
|
private |
Definition at line 286 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 287 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 276 of file FastMonitoringService.h.
|
private |
Definition at line 269 of file FastMonitoringService.h.
Referenced by getAbortFlagForLumi(), getEventsProcessedForLumi(), postGlobalEndLumi(), and preGlobalEndLumi().
|
static |
Definition at line 159 of file FastMonitoringService.h.
Referenced by doSnapshot(), postEvent(), postModuleEvent(), postSourceEvent(), postStreamBeginLumi(), postStreamEndLumi(), preBeginJob(), preSourceEvent(), preStreamBeginLumi(), preStreamEndLumi(), and setMicroState().
|
private |
Definition at line 278 of file FastMonitoringService.h.
Referenced by getRunDirName(), and preBeginJob().
|
private |
Definition at line 243 of file FastMonitoringService.h.
Referenced by preBeginJob(), preGlobalEndLumi(), and snapshotRunner().
|
private |
Definition at line 247 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi().
|
private |
Definition at line 245 of file FastMonitoringService.h.
Referenced by snapshotRunner().
|
private |
Definition at line 273 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 280 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 282 of file FastMonitoringService.h.
Referenced by postEvent().
|
private |
Definition at line 278 of file FastMonitoringService.h.
Referenced by preBeginJob(), and preGlobalEndLumi().