#include <FastMonitoringThread.h>
Classes | |
struct | MonitorData |
Public Member Functions | |
FastMonitoringThread () | |
void | resetFastMonitor (std::string const µStateDefPath, std::string const &fastMicroStateDefPath) |
void | start (void(FastMonitoringService::*fp)(), FastMonitoringService *cp) |
void | stop () |
Private Attributes | |
std::unique_ptr< jsoncollector::FastMonitor > | jsonMonitor_ |
MonitorData | m_data |
std::atomic< bool > | m_stoprequest |
std::shared_ptr< std::thread > | m_thread |
std::mutex | monlock_ |
Friends | |
class | FastMonitoringService |
Definition at line 16 of file FastMonitoringThread.h.
Definition at line 22 of file FastMonitoringThread.h.
Enumerator | |
---|---|
sInit | |
sJobReady | |
sRunGiven | |
sRunning | |
sStopping | |
sShuttingDown | |
sDone | |
sJobEnded | |
sError | |
sErrorEnded | |
sEnd | |
sInvalid | |
MCOUNT |
Definition at line 19 of file FastMonitoringThread.h.
|
inline |
Definition at line 137 of file FastMonitoringThread.h.
|
inline |
Definition at line 140 of file FastMonitoringThread.h.
References jsonMonitor_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by evf::FastMonitoringService::preBeginJob().
|
inline |
Definition at line 147 of file FastMonitoringThread.h.
References SimDataFormats::CaloAnalysis::cp, and m_thread.
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and evf::FastMonitoringService::preBeginJob().
|
inline |
Definition at line 151 of file FastMonitoringThread.h.
References m_stoprequest, and m_thread.
Referenced by evf::FastMonitoringService::postEndJob().
|
friend |
Definition at line 166 of file FastMonitoringThread.h.
|
private |
Definition at line 164 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::doSnapshot(), evf::FastMonitoringService::preBeginJob(), evf::FastMonitoringService::preGlobalEndLumi(), and resetFastMonitor().
|
private |
Definition at line 161 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::doSnapshot(), evf::FastMonitoringService::postBeginJob(), evf::FastMonitoringService::postEvent(), evf::FastMonitoringService::preBeginJob(), evf::FastMonitoringService::preGlobalEndLumi(), evf::FastMonitoringService::prePathEvent(), and evf::FastMonitoringService::preStreamBeginLumi().
|
private |
Definition at line 159 of file FastMonitoringThread.h.
Referenced by stop().
|
private |
Definition at line 160 of file FastMonitoringThread.h.
|
private |
Definition at line 162 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::accumulateFileSize(), evf::FastMonitoringService::getAbortFlagForLumi(), evf::FastMonitoringService::getEventsProcessedForLumi(), evf::FastMonitoringService::postBeginJob(), evf::FastMonitoringService::postGlobalEndLumi(), evf::FastMonitoringService::preGlobalBeginLumi(), evf::FastMonitoringService::preGlobalEarlyTermination(), evf::FastMonitoringService::preGlobalEndLumi(), evf::FastMonitoringService::preModuleBeginJob(), evf::FastMonitoringService::prePathEvent(), evf::FastMonitoringService::preSourceEarlyTermination(), evf::FastMonitoringService::preStreamBeginLumi(), evf::FastMonitoringService::preStreamEarlyTermination(), evf::FastMonitoringService::preStreamEndLumi(), evf::FastMonitoringService::reportLockWait(), and evf::FastMonitoringService::stoppedLookingForFile().