#include <Monitoring.h>
Public Member Functions | |
void | report (std::ostream &out) |
SessionMonitoringData * | startSession (const std::string &connectionString) |
virtual | ~Monitoring () throw () |
Static Public Member Functions | |
static void | enable () |
static Monitoring & | get () |
static bool | isEnabled () |
static const std::string & | outFileName () |
Private Member Functions | |
Monitoring () | |
Private Attributes | |
std::map< std::string, SessionMonitoringData * > | m_sessions |
Static Private Attributes | |
static std::atomic< bool > | s_enabled {false} |
Definition at line 39 of file Monitoring.h.
|
virtual |
Definition at line 102 of file Monitoring.cc.
References gather_cfg::cout, alignCSCRings::e, relativeConstraints::empty, cppFunctionSkipper::exception, GetRecoTauVFromDQM_MC_cff::outFile, TreeWriterForEcalCorrection_cfg::outFileName, and zeeHLT_cff::report.
|
private |
Definition at line 154 of file Monitoring.cc.
|
static |
Definition at line 92 of file Monitoring.cc.
|
static |
Definition at line 79 of file Monitoring.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), ora::DatabaseSession::connect(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
static |
|
static |
void ora::Monitoring::report | ( | std::ostream & | out | ) |
Definition at line 134 of file Monitoring.cc.
References data, j, ora::SessionMonitoringData::m_connectionString, ora::SessionMonitoringData::m_start, ora::SessionMonitoringData::m_stop, and zeeHLT_cff::report.
ora::SessionMonitoringData * ora::Monitoring::startSession | ( | const std::string & | connectionString | ) |
Definition at line 128 of file Monitoring.cc.
References ora::guidFromTime(), and run_regression::ret.
Referenced by ora::DatabaseSession::connect().
|
private |
Definition at line 61 of file Monitoring.h.
|
staticprivate |
Definition at line 54 of file Monitoring.h.