#include <FastMonitoringThread.h>
Classes | |
struct | MonitorData |
Public Types | |
enum | Macrostate { sInit = 0, sJobReady, sRunGiven, sRunning, sStopping, sShuttingDown, sDone, sJobEnded, sError, sErrorEnded, sEnd, sInvalid, MCOUNT } |
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< FastMonitor > | jsonMonitor_ |
MonitorData | m_data |
std::atomic< bool > | m_stoprequest |
boost::shared_ptr< std::thread > | m_thread |
std::mutex | monlock_ |
Friends | |
class | FastMonitoringService |
Definition at line 17 of file FastMonitoringThread.h.
Enumerator | |
---|---|
sInit | |
sJobReady | |
sRunGiven | |
sRunning | |
sStopping | |
sShuttingDown | |
sDone | |
sJobEnded | |
sError | |
sErrorEnded | |
sEnd | |
sInvalid | |
MCOUNT |
Definition at line 20 of file FastMonitoringThread.h.
|
inline |
Definition at line 110 of file FastMonitoringThread.h.
|
inline |
Definition at line 113 of file FastMonitoringThread.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by evf::FastMonitoringService::preallocate().
|
inline |
Definition at line 120 of file FastMonitoringThread.h.
References assert().
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and evf::FastMonitoringService::preallocate().
|
inline |
Definition at line 124 of file FastMonitoringThread.h.
References assert().
Referenced by evf::FastMonitoringService::postEndJob().
|
friend |
Definition at line 139 of file FastMonitoringThread.h.
|
private |
|
private |
Definition at line 134 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::doSnapshot(), evf::FastMonitoringService::dowork(), evf::FastMonitoringService::postBeginJob(), evf::FastMonitoringService::postEvent(), evf::FastMonitoringService::preallocate(), evf::FastMonitoringService::preGlobalEndLumi(), evf::FastMonitoringService::prePathEvent(), and evf::FastMonitoringService::preStreamBeginLumi().
|
private |
Definition at line 132 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::dowork().
|
private |
Definition at line 133 of file FastMonitoringThread.h.
|
private |
Definition at line 135 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::accumulateFileSize(), evf::FastMonitoringService::dowork(), evf::FastMonitoringService::getAbortFlagForLumi(), evf::FastMonitoringService::getEventsProcessedForLumi(), evf::FastMonitoringService::postBeginJob(), 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::reportEventsThisLumiInSource(), evf::FastMonitoringService::reportLockWait(), and evf::FastMonitoringService::stoppedLookingForFile().