#include <FastMonitoringService.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static unsigned int | getTID () |
Static Public Attributes | |
static const std::string | inputStateNames [FastMonState::inCOUNT] |
static const std::string | macroStateNames [FastMonState::MCOUNT] |
static const edm::ModuleDescription | specialMicroStateNames [FastMonState::mCOUNT] |
Private Member Functions | |
void | doSnapshot (const unsigned int ls, const bool isGlobalEOL) |
void | snapshotRunner () |
Static Private Member Functions | |
static unsigned int | getSID (edm::StreamContext const &sc) |
static unsigned int | getSID (edm::StreamID const &sid) |
Private Attributes | |
std::map< unsigned int, unsigned long > | accuSize_ |
std::map< unsigned int, double > | avgLeadTime_ |
std::unique_ptr< ConcurrencyTracker > | ct_ |
DAQSource * | daqInputSource_ = nullptr |
bool | exception_detected_ = false |
std::vector< unsigned int > | exceptionInLS_ |
std::string | fastMicrostateDefPath_ |
unsigned int | fastMonIntervals_ |
std::string | fastName_ |
std::string | fastPath_ |
timeval | fileLookStart_ |
timeval | fileLookStop_ |
std::map< unsigned int, unsigned int > | filesProcessedDuringLumi_ |
std::unique_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::vector< ContainableAtomic< const void * > > | microstate_ |
std::vector< ContainableAtomic< unsigned char > > | microstateAcqFlag_ |
std::string | microstateDefPath_ |
std::string | moduleLegendFile_ |
std::string | moduleLegendFileJson_ |
std::atomic< bool > | monInit_ |
unsigned int | nMonThreads_ = 0 |
unsigned int | nOutputModules_ = 0 |
unsigned int | nStreams_ = 0 |
unsigned int | nThreads_ = 0 |
std::map< unsigned int, std::pair< unsigned int, bool > > | processedEventsPerLumi_ |
std::filesystem::path | runDirectory_ |
int | sleepTime_ |
unsigned int | snapCounter_ = 0 |
std::vector< std::atomic< bool > * > | streamCounterUpdating_ |
bool | tbbConcurrencyTracker_ |
bool | tbbMonitoringMode_ |
bool | threadIDAvailable_ = false |
std::vector< ContainableAtomic< const void * > > | tmicrostate_ |
std::vector< ContainableAtomic< unsigned char > > | tmicrostateAcqFlag_ |
std::atomic< unsigned long > | totalEventsProcessed_ |
bool | verbose_ = false |
std::filesystem::path | workingDirectory_ |
Definition at line 164 of file FastMonitoringService.h.
evf::FastMonitoringService::FastMonitoringService | ( | const edm::ParameterSet & | iPS, |
edm::ActivityRegistry & | reg | ||
) |
Definition at line 197 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(), 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::watchPreSourceEarlyTermination(), edm::ActivityRegistry::watchPreSourceEvent(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamEarlyTermination(), and edm::ActivityRegistry::watchPreStreamEndLumi().
evf::FastMonitoringService::~FastMonitoringService | ( | ) |
Definition at line 255 of file FastMonitoringService.cc.
void evf::FastMonitoringService::accumulateFileSize | ( | unsigned int | lumi, |
unsigned long | fileSize | ||
) |
Definition at line 716 of file FastMonitoringService.cc.
References accuSize_, filesProcessedDuringLumi_, fmt_, CommonMethods::lock(), and BXlumiParameters_cfi::lumi.
Referenced by evf::EvFDaqDirector::bumpFile().
|
private |
Definition at line 858 of file FastMonitoringService.cc.
References avgLeadTime_, ct_, filesProcessedDuringLumi_, fmt_, evf::getmEoL(), evf::getmFwk(), evf::getmFwkEoL(), evf::getmIdle(), mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::if(), evf::FastMonState::inIgnore, 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(), microstate_, microstateAcqFlag_, nMonThreads_, nStreams_, nThreads_, tmicrostate_, and tmicrostateAcqFlag_.
Referenced by preGlobalEndLumi(), and snapshotRunner().
bool evf::FastMonitoringService::exceptionDetected | ( | ) | const |
Definition at line 456 of file FastMonitoringService.cc.
References has_data_exception_, and has_source_exception_.
Referenced by DAQSource::~DAQSource(), and FedRawDataInputSource::~FedRawDataInputSource().
|
static |
Definition at line 257 of file FastMonitoringService.cc.
References edm::ConfigurationDescriptions::add(), and submitPVResolutionJobs::desc.
bool evf::FastMonitoringService::getAbortFlagForLumi | ( | unsigned int | lumi | ) |
Definition at line 794 of file FastMonitoringService.cc.
References Exception, fmt_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, CommonMethods::lock(), BXlumiParameters_cfi::lumi, and processedEventsPerLumi_.
Referenced by shouldWriteFiles().
unsigned int evf::FastMonitoringService::getEventsProcessedForLumi | ( | unsigned int | lumi, |
bool * | abortFlag = nullptr |
||
) |
Definition at line 776 of file FastMonitoringService.cc.
References Exception, fmt_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, CommonMethods::lock(), BXlumiParameters_cfi::lumi, ValidateTausOnZEEFastSim_cff::proc, and processedEventsPerLumi_.
Referenced by dqm::DQMFileSaverPB::fillJson(), dqmfilesaver::fillJson(), evf::GlobalEvFOutputModule::globalEndLuminosityBlock(), dqm::DQMFileSaverPB::saveLumi(), and shouldWriteFiles().
|
inline |
Definition at line 223 of file FastMonitoringService.h.
References runDirectory_.
|
inlinestaticprivate |
Definition at line 238 of file FastMonitoringService.h.
References edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by postModuleEvent(), postModuleEventAcquire(), postSourceEvent(), preModuleEvent(), preModuleEventAcquire(), and preSourceEvent().
|
inlinestaticprivate |
Definition at line 240 of file FastMonitoringService.h.
References edm::StreamID::value().
|
inlinestatic |
Definition at line 231 of file FastMonitoringService.h.
Referenced by postModuleEvent(), postModuleEventAcquire(), postSourceEvent(), preModuleEvent(), preModuleEventAcquire(), and preSourceEvent().
bool evf::FastMonitoringService::isExceptionOnData | ( | unsigned int | ls | ) |
Definition at line 460 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 473 of file FastMonitoringService.cc.
References fmt_, and evf::FastMonState::sError.
Referenced by FastMonitoringService().
std::string evf::FastMonitoringService::makeInputLegendaJson | ( | ) |
Definition at line 295 of file FastMonitoringService.cc.
References jsoncollector::Json::Value::append(), jsoncollector::Json::arrayValue, mps_fire::i, evf::FastMonState::inCOUNT, inputStateNames, and convertToRaw::writer.
Referenced by postBeginJob().
std::string evf::FastMonitoringService::makeModuleLegendaJson | ( | ) |
Definition at line 274 of file FastMonitoringService.cc.
References jsoncollector::Json::Value::append(), jsoncollector::Json::arrayValue, fmt_, mps_fire::i, nOutputModules_, evf::nReservedModules, evf::nSpecialModules, and convertToRaw::writer.
Referenced by postBeginJob().
void evf::FastMonitoringService::postBeginJob | ( | ) |
Definition at line 490 of file FastMonitoringService.cc.
References fmt_, inputLegendFileJson_, CommonMethods::lock(), makeInputLegendaJson(), makeModuleLegendaJson(), moduleLegendFileJson_, evf::FastMonState::sJobReady, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postEndJob | ( | ) |
Definition at line 505 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::getmIdle(), microstate_, edm::StreamContext::streamID(), totalEventsProcessed_, and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postGlobalBeginRun | ( | edm::GlobalContext const & | gc | ) |
Definition at line 510 of file FastMonitoringService.cc.
References fmt_, isInitTransition_, and evf::FastMonState::sRunning.
void evf::FastMonitoringService::postGlobalEndLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 597 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 705 of file FastMonitoringService.cc.
References evf::getmFwkOvhMod(), evf::getmIdle(), getSID(), getTID(), microstate_, nThreads_, tbbMonitoringMode_, and tmicrostate_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postModuleEventAcquire | ( | edm::StreamContext const & | sc, |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 682 of file FastMonitoringService.cc.
References evf::getmFwkOvhMod(), evf::getmIdle(), getSID(), getTID(), microstate_, microstateAcqFlag_, nThreads_, tbbMonitoringMode_, tmicrostate_, and tmicrostateAcqFlag_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postSourceEvent | ( | edm::StreamID | sid | ) |
Definition at line 659 of file FastMonitoringService.cc.
References evf::getmFwkOvhSrc(), evf::getmIdle(), getSID(), getTID(), microstate_, nThreads_, tbbMonitoringMode_, and tmicrostate_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postStreamBeginLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 619 of file FastMonitoringService.cc.
References evf::getmIdle(), microstate_, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::postStreamEndLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 632 of file FastMonitoringService.cc.
References evf::getmFwkEoL(), microstate_, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preallocate | ( | edm::service::SystemBounds const & | bounds | ) |
Definition at line 305 of file FastMonitoringService.cc.
References ct_, SiStripPI::max, nMonThreads_, nStreams_, and nThreads_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preBeginJob | ( | edm::PathsAndConsumesOfModulesBase const & | , |
edm::ProcessContext const & | pc | ||
) |
Definition at line 318 of file FastMonitoringService.cc.
References ct_, Exception, fastMicrostateDefPath_, fastName_, fastPath_, fmt_, evf::getmInvalid(), mps_fire::i, evf::FastMonState::inCOUNT, inputLegendFileJson_, isInitTransition_, lastGlobalLumi_, LogDebug, lumiFromSource_, evf::FastMonState::mCOUNT, evf::FastMonState::MCOUNT, microstate_, microstateAcqFlag_, microstateDefPath_, moduleLegendFile_, moduleLegendFileJson_, monInit_, nMonThreads_, nStreams_, nThreads_, Utilities::operator, castor_dqm_sourceclient_file_cfg::path, runDirectory_, evf::FastMonState::sInit, sleepTime_, snapshotRunner(), specialMicroStateNames, streamCounterUpdating_, tbbConcurrencyTracker_, tmicrostate_, tmicrostateAcqFlag_, and workingDirectory_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preEvent | ( | edm::StreamContext const & | sc | ) |
Definition at line 636 of file FastMonitoringService.cc.
References evf::getmEvent(), microstate_, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalBeginLumi | ( | edm::GlobalContext const & | gc | ) |
Definition at line 515 of file FastMonitoringService.cc.
References fmt_, evf::getmIdle(), evf::getmInvalid(), mps_fire::i, lastGlobalLumi_, CommonMethods::lock(), edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), lumiStartTime_, nThreads_, tbbMonitoringMode_, and tmicrostate_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preGlobalEarlyTermination | ( | edm::GlobalContext const & | gc, |
edm::TerminationOrigin | to | ||
) |
Definition at line 416 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 530 of file FastMonitoringService.cc.
References accuSize_, daqInputSource_, doSnapshot(), Exception, exception_detected_, exceptionInLS_, fmt_, DAQSource::getEventReport(), FedRawDataInputSource::getEventReport(), inputSource_, CommonMethods::lock(), LogDebug, BXlumiParameters_cfi::lumi, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), lumiStartTime_, processedEventsPerLumi_, edm::shutdown_flag, throughputFactor(), and jsoncollector::IntJ::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preModuleBeginJob | ( | edm::ModuleDescription const & | desc | ) |
Definition at line 476 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 695 of file FastMonitoringService.cc.
References getSID(), getTID(), microstate_, edm::ModuleCallingContext::moduleDescription(), nThreads_, tbbMonitoringMode_, and tmicrostate_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preModuleEventAcquire | ( | edm::StreamContext const & | sc, |
edm::ModuleCallingContext const & | mcc | ||
) |
Definition at line 669 of file FastMonitoringService.cc.
References getSID(), getTID(), microstate_, microstateAcqFlag_, edm::ModuleCallingContext::moduleDescription(), nThreads_, tbbMonitoringMode_, tmicrostate_, and tmicrostateAcqFlag_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::prePathEvent | ( | edm::StreamContext const & | , |
edm::PathContext const & | |||
) |
void evf::FastMonitoringService::preSourceEarlyTermination | ( | edm::TerminationOrigin | to | ) |
Definition at line 432 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 649 of file FastMonitoringService.cc.
References evf::getmInput(), getSID(), getTID(), microstate_, nThreads_, tbbMonitoringMode_, and tmicrostate_.
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preStreamBeginLumi | ( | edm::StreamContext const & | sc | ) |
Definition at line 609 of file FastMonitoringService.cc.
References edm::StreamContext::eventID(), fmt_, evf::getmBoL(), CommonMethods::lock(), edm::EventID::luminosityBlock(), microstate_, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by FastMonitoringService().
void evf::FastMonitoringService::preStreamEarlyTermination | ( | edm::StreamContext const & | sc, |
edm::TerminationOrigin | to | ||
) |
Definition at line 400 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 623 of file FastMonitoringService.cc.
References edm::StreamContext::eventID(), fmt_, evf::getmEoL(), CommonMethods::lock(), edm::EventID::luminosityBlock(), microstate_, 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 766 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 448 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 224 of file FastMonitoringService.h.
References inputSource_.
Referenced by DAQSource::DAQSource(), and FedRawDataInputSource::FedRawDataInputSource().
|
inline |
Definition at line 225 of file FastMonitoringService.h.
References daqInputSource_.
|
inline |
Definition at line 226 of file FastMonitoringService.h.
References inputState_.
Referenced by DAQSource::DAQSource(), FedRawDataInputSource::FedRawDataInputSource(), FedRawDataInputSource::setMonState(), and DAQSource::setMonState().
|
inline |
Definition at line 227 of file FastMonitoringService.h.
References inputSupervisorState_.
Referenced by DAQSource::DAQSource(), FedRawDataInputSource::FedRawDataInputSource(), FedRawDataInputSource::setMonStateSup(), and DAQSource::setMonStateSup().
void evf::FastMonitoringService::setTMicrostate | ( | FastMonState::Microstate | m | ) |
Definition at line 771 of file FastMonitoringService.cc.
References visualization-live-secondInstance_cfg::m, specialMicroStateNames, and tmicrostate_.
Referenced by IdleSourceSentry::IdleSourceSentry(), and IdleSourceSentry::~IdleSourceSentry().
|
inline |
Definition at line 217 of file FastMonitoringService.h.
References getAbortFlagForLumi(), getEventsProcessedForLumi(), and ValidateTausOnZEEFastSim_cff::proc.
Referenced by L1TriggerJSONMonitoring::globalEndLuminosityBlockSummary(), and HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary().
|
private |
Definition at line 810 of file FastMonitoringService.cc.
References doSnapshot(), f, fastMonIntervals_, fastPath_, fmt_, mps_fire::i, inputState_, inputStateNames, inputSupervisorState_, lastGlobalLumi_, CommonMethods::lock(), monInit_, mps_check::msg, nMonThreads_, AlCaHLTBitMon_ParallelJobs::p, sleepTime_, snapCounter_, and verbose_.
Referenced by preBeginJob().
void evf::FastMonitoringService::startedLookingForFile | ( | ) |
Definition at line 730 of file FastMonitoringService.cc.
References fileLookStart_.
Referenced by FedRawDataInputSource::readSupervisor(), and DAQSource::readSupervisor().
void evf::FastMonitoringService::stoppedLookingForFile | ( | unsigned int | lumi | ) |
Definition at line 738 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 277 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), and preGlobalEndLumi().
|
private |
Definition at line 274 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalEndLumi(), and stoppedLookingForFile().
|
private |
Definition at line 244 of file FastMonitoringService.h.
Referenced by doSnapshot(), preallocate(), and preBeginJob().
|
private |
Definition at line 248 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), and setInputSource().
|
private |
Definition at line 300 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), preSourceEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 303 of file FastMonitoringService.h.
Referenced by isExceptionOnData(), preGlobalEarlyTermination(), preGlobalEndLumi(), preStreamEarlyTermination(), and setExceptionDetected().
|
private |
Definition at line 260 of file FastMonitoringService.h.
Referenced by FastMonitoringService(), and preBeginJob().
|
private |
Definition at line 258 of file FastMonitoringService.h.
Referenced by snapshotRunner().
|
private |
Definition at line 261 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 261 of file FastMonitoringService.h.
Referenced by preBeginJob(), and snapshotRunner().
|
private |
Definition at line 266 of file FastMonitoringService.h.
Referenced by startedLookingForFile(), and stoppedLookingForFile().
|
private |
Definition at line 266 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 275 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), and postGlobalEndLumi().
|
private |
Definition at line 243 of file FastMonitoringService.h.
Referenced by accumulateFileSize(), doSnapshot(), getAbortFlagForLumi(), getEventsProcessedForLumi(), isExceptionOnData(), jobFailure(), makeModuleLegendaJson(), postBeginJob(), postEndJob(), postEvent(), postGlobalBeginRun(), postGlobalEndLumi(), preBeginJob(), preGlobalBeginLumi(), preGlobalEarlyTermination(), preGlobalEndLumi(), preModuleBeginJob(), preSourceEarlyTermination(), preStreamBeginLumi(), preStreamEarlyTermination(), preStreamEndLumi(), reportLockWait(), setExceptionDetected(), snapshotRunner(), and stoppedLookingForFile().
|
private |
Definition at line 302 of file FastMonitoringService.h.
Referenced by exceptionDetected(), isExceptionOnData(), preGlobalEarlyTermination(), preSourceEarlyTermination(), and preStreamEarlyTermination().
|
private |
Definition at line 301 of file FastMonitoringService.h.
Referenced by exceptionDetected(), isExceptionOnData(), and preSourceEarlyTermination().
|
private |
Definition at line 296 of file FastMonitoringService.h.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 247 of file FastMonitoringService.h.
Referenced by preGlobalEndLumi(), and setInputSource().
|
private |
Definition at line 249 of file FastMonitoringService.h.
Referenced by doSnapshot(), setInState(), and snapshotRunner().
|
static |
Definition at line 169 of file FastMonitoringService.h.
Referenced by makeInputLegendaJson(), and snapshotRunner().
|
private |
Definition at line 250 of file FastMonitoringService.h.
Referenced by doSnapshot(), setInStateSup(), and snapshotRunner().
|
private |
Definition at line 269 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalBeginRun(), and preBeginJob().
|
private |
Definition at line 268 of file FastMonitoringService.h.
Referenced by preBeginJob(), preGlobalBeginLumi(), and snapshotRunner().
|
private |
Definition at line 278 of file FastMonitoringService.h.
Referenced by stoppedLookingForFile().
|
private |
Definition at line 279 of file FastMonitoringService.h.
Referenced by doSnapshot(), postGlobalEndLumi(), and reportLockWait().
|
private |
Definition at line 270 of file FastMonitoringService.h.
Referenced by preBeginJob(), and stoppedLookingForFile().
|
private |
Definition at line 265 of file FastMonitoringService.h.
Referenced by preGlobalBeginLumi(), and preGlobalEndLumi().
|
static |
Definition at line 168 of file FastMonitoringService.h.
|
private |
Definition at line 306 of file FastMonitoringService.h.
Referenced by doSnapshot(), postEvent(), postModuleEvent(), postModuleEventAcquire(), postSourceEvent(), postStreamBeginLumi(), postStreamEndLumi(), preBeginJob(), preEvent(), preModuleEvent(), preModuleEventAcquire(), preSourceEvent(), preStreamBeginLumi(), and preStreamEndLumi().
|
private |
Definition at line 307 of file FastMonitoringService.h.
Referenced by doSnapshot(), postModuleEventAcquire(), preBeginJob(), and preModuleEventAcquire().
|
private |
Definition at line 260 of file FastMonitoringService.h.
Referenced by FastMonitoringService(), 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 postBeginJob(), and preBeginJob().
|
private |
Definition at line 299 of file FastMonitoringService.h.
Referenced by preBeginJob(), and snapshotRunner().
|
private |
Definition at line 253 of file FastMonitoringService.h.
Referenced by doSnapshot(), preallocate(), preBeginJob(), and snapshotRunner().
|
private |
Definition at line 297 of file FastMonitoringService.h.
Referenced by makeModuleLegendaJson(), and preModuleBeginJob().
|
private |
Definition at line 252 of file FastMonitoringService.h.
Referenced by doSnapshot(), preallocate(), and preBeginJob().
|
private |
Definition at line 254 of file FastMonitoringService.h.
Referenced by doSnapshot(), postModuleEvent(), postModuleEventAcquire(), postSourceEvent(), preallocate(), preBeginJob(), preGlobalBeginLumi(), preModuleEvent(), preModuleEventAcquire(), and preSourceEvent().
|
private |
Definition at line 282 of file FastMonitoringService.h.
Referenced by getAbortFlagForLumi(), getEventsProcessedForLumi(), postGlobalEndLumi(), and preGlobalEndLumi().
|
private |
Definition at line 288 of file FastMonitoringService.h.
Referenced by getRunDirName(), and preBeginJob().
|
private |
Definition at line 257 of file FastMonitoringService.h.
Referenced by preBeginJob(), and snapshotRunner().
|
private |
Definition at line 259 of file FastMonitoringService.h.
Referenced by snapshotRunner().
|
static |
Definition at line 167 of file FastMonitoringService.h.
Referenced by preBeginJob(), and setTMicrostate().
|
private |
Definition at line 286 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 256 of file FastMonitoringService.h.
Referenced by preBeginJob().
|
private |
Definition at line 255 of file FastMonitoringService.h.
Referenced by postModuleEvent(), postModuleEventAcquire(), postSourceEvent(), preGlobalBeginLumi(), preModuleEvent(), preModuleEventAcquire(), and preSourceEvent().
|
private |
Definition at line 290 of file FastMonitoringService.h.
|
private |
Definition at line 309 of file FastMonitoringService.h.
Referenced by doSnapshot(), postModuleEvent(), postModuleEventAcquire(), postSourceEvent(), preBeginJob(), preGlobalBeginLumi(), preModuleEvent(), preModuleEventAcquire(), preSourceEvent(), and setTMicrostate().
|
private |
Definition at line 310 of file FastMonitoringService.h.
Referenced by doSnapshot(), postModuleEventAcquire(), preBeginJob(), and preModuleEventAcquire().
|
private |
Definition at line 292 of file FastMonitoringService.h.
Referenced by postEvent().
|
private |
Definition at line 312 of file FastMonitoringService.h.
Referenced by snapshotRunner().
|
private |
Definition at line 288 of file FastMonitoringService.h.
Referenced by preBeginJob().