#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(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), ora::DatabaseSession::connect(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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 runTheMatrix::ret.
Referenced by ora::DatabaseSession::connect().
|
private |
Definition at line 61 of file Monitoring.h.
|
staticprivate |
Definition at line 54 of file Monitoring.h.