#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 15 of file FastMonitoringThread.h.
Definition at line 34 of file FastMonitoringThread.h.
Enumerator | |
---|---|
sInit | |
sJobReady | |
sRunGiven | |
sRunning | |
sStopping | |
sShuttingDown | |
sDone | |
sJobEnded | |
sError | |
sErrorEnded | |
sEnd | |
sInvalid | |
MCOUNT |
Definition at line 18 of file FastMonitoringThread.h.
|
inline |
Definition at line 198 of file FastMonitoringThread.h.
|
inline |
Definition at line 200 of file FastMonitoringThread.h.
References jsonMonitor_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by evf::FastMonitoringService::preBeginJob().
|
inline |
Definition at line 207 of file FastMonitoringThread.h.
References cms::cuda::assert(), CommonMethods::cp(), personalPlayback::fp, and m_thread.
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and evf::FastMonitoringService::preBeginJob().
|
inline |
Definition at line 211 of file FastMonitoringThread.h.
References cms::cuda::assert(), m_stoprequest, and m_thread.
Referenced by evf::FastMonitoringService::postEndJob().
|
friend |
Definition at line 225 of file FastMonitoringThread.h.
|
private |
Definition at line 223 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::doSnapshot(), evf::FastMonitoringService::doStreamEOLSnapshot(), evf::FastMonitoringService::dowork(), evf::FastMonitoringService::preBeginJob(), evf::FastMonitoringService::preGlobalEndLumi(), and resetFastMonitor().
|
private |
Definition at line 220 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::doSnapshot(), evf::FastMonitoringService::dowork(), evf::FastMonitoringService::postBeginJob(), evf::FastMonitoringService::postEvent(), evf::FastMonitoringService::preBeginJob(), evf::FastMonitoringService::preGlobalEndLumi(), evf::FastMonitoringService::prePathEvent(), and evf::FastMonitoringService::preStreamBeginLumi().
|
private |
Definition at line 218 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::dowork(), and stop().
|
private |
Definition at line 219 of file FastMonitoringThread.h.
|
private |
Definition at line 221 of file FastMonitoringThread.h.
Referenced by evf::FastMonitoringService::accumulateFileSize(), evf::FastMonitoringService::dowork(), 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().