#include <ELstatistics.h>
Public Member Functions | |
ELstatistics () | |
ELstatistics (const ELstatistics &orig) | |
ELstatistics (int spaceLimit) | |
ELstatistics (int spaceLimit, std::ostream &osp) | |
ELstatistics (std::ostream &osp) | |
bool | log (const edm::ErrorObj &msg) override |
void | noTerminationSummary () |
ELstatistics & | operator= (const ELstatistics &orig)=delete |
void | summary (unsigned long overfullWaitCount) |
void | summaryForJobReport (std::map< std::string, double > &sm) |
void | wipe () override |
~ELstatistics () override | |
Public Member Functions inherited from edm::service::ELdestination | |
virtual void | attachEpilogue () |
virtual void | attachTime () |
virtual void | changeFile (const std::string &filename) |
virtual void | changeFile (std::ostream &os) |
ELdestination () | |
ELdestination (const ELdestination &orig)=delete | |
virtual void | excludeModule (std::string const &moduleName) |
virtual void | filterModule (std::string const &moduleName) |
virtual void | finish () |
virtual void | flush () |
virtual int | getLineLength () const |
virtual std::string | getNewline () const |
virtual void | ignoreModule (std::string const &moduleName) |
virtual void | includeContext () |
virtual void | includeModule () |
virtual void | includeSerial () |
virtual void | includeSubroutine () |
virtual void | includeText () |
virtual void | includeTime () |
ELdestination & | operator= (const ELdestination &orig)=delete |
virtual void | respondToModule (std::string const &moduleName) |
virtual void | separateEpilogue () |
virtual void | separateTime () |
void | setInterval (const messagelogger::ELseverityLevel &sv, int interval) |
void | setInterval (const std::string &s, int interval) |
void | setLimit (const messagelogger::ELseverityLevel &sv, int n) |
void | setLimit (const std::string &s, int n) |
virtual int | setLineLength (int len) |
virtual void | setTableLimit (int n) |
void | setThreshold (const messagelogger::ELseverityLevel &sv) |
void | setTimespan (const messagelogger::ELseverityLevel &sv, int n) |
void | setTimespan (const std::string &s, int n) |
void | setTraceThreshold (const messagelogger::ELseverityLevel &sv) |
virtual void | suppressContext () |
virtual void | suppressModule () |
virtual void | suppressSerial () |
virtual void | suppressSubroutine () |
virtual void | suppressText () |
virtual void | suppressTime () |
virtual bool | thisShouldBeIgnored (std::string const &s) const |
virtual void | useContext () |
virtual void | useFullContext () |
virtual | ~ELdestination () |
Static Public Member Functions | |
static void | noteGroupedCategory (std::string const &cat) |
Protected Member Functions | |
void | clearSummary () |
std::map< ELextendedID, StatsCount > | statisticsMap () const |
void | zero () override |
Static Protected Member Functions | |
static std::string | formSummary (ELmap_stats &stats) |
Protected Attributes | |
bool | printAtTermination |
ELmap_stats | stats |
int | tableLimit |
std::ostream & | termStream |
bool | updatedStats |
Protected Attributes inherited from edm::service::ELdestination | |
bool | ignoreMostModules |
std::unordered_set< std::string > | ignoreThese |
std::string | indent |
ELlimitsTable | limits |
int | lineLength |
std::string | newline |
std::string | preamble |
bool | respondToMostModules |
std::unordered_set< std::string > | respondToThese |
messagelogger::ELseverityLevel | threshold |
messagelogger::ELseverityLevel | traceThreshold |
Static Protected Attributes | |
static std::set< std::string > | groupedCategories |
Static Protected Attributes inherited from edm::service::ELdestination | |
static const int | defaultLineLength = 80 |
Private Member Functions | |
std::string | dualLogName (std::string const &s) |
void | summary (std::ostream &os, std::string_view title) |
Friends | |
class | ELadministrator |
Definition at line 49 of file ELstatistics.h.
edm::service::ELstatistics::ELstatistics | ( | ) |
Definition at line 75 of file ELstatistics.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
edm::service::ELstatistics::ELstatistics | ( | std::ostream & | osp | ) |
Definition at line 88 of file ELstatistics.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
edm::service::ELstatistics::ELstatistics | ( | int | spaceLimit | ) |
Definition at line 96 of file ELstatistics.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
edm::service::ELstatistics::ELstatistics | ( | int | spaceLimit, |
std::ostream & | osp | ||
) |
Definition at line 109 of file ELstatistics.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
edm::service::ELstatistics::ELstatistics | ( | const ELstatistics & | orig | ) |
Definition at line 122 of file ELstatistics.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, edm::service::ELdestination::ignoreMostModules, edm::service::ELdestination::ignoreThese, edm::service::ELdestination::respondToMostModules, and edm::service::ELdestination::respondToThese.
|
override |
Definition at line 140 of file ELstatistics.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, printAtTermination, summary(), termStream, and updatedStats.
|
protected |
Definition at line 199 of file ELstatistics.cc.
References edm::service::ELdestination::limits, alignCSCRings::s, stats, and edm::service::ELlimitsTable::zero().
|
private |
Definition at line 468 of file ELstatistics.cc.
References alignCSCRings::s.
Referenced by summaryForJobReport().
|
staticprotected |
Definition at line 217 of file ELstatistics.cc.
References eostools::cat(), g, edm::messagelogger::ELseverityLevel::getLevel(), edm::ELseverityLevel::getName(), groupedCategories, mps_fire::i, dqmdumpme::k, dttmaxenums::L, dqmiodumpmetadata::n, edm::ELseverityLevel::nLevels, p3, alignCSCRings::s, edm::ELextendedID::severity, interestingDetIdCollectionProducer_cfi::severityLevel, stats, AlCaHLTBitMon_QueryRunRegistry::string, and submitPVValidationJobs::t.
Referenced by summary().
|
overridevirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 154 of file ELstatistics.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, mps_check::msg, alignCSCRings::s, stats, tableLimit, edm::service::ELdestination::thisShouldBeIgnored(), edm::service::ELdestination::threshold, and updatedStats.
|
static |
Definition at line 484 of file ELstatistics.cc.
References eostools::cat(), and groupedCategories.
Referenced by edm::service::ThreadSafeLogMessageLoggerScribe::runCommand().
void edm::service::ELstatistics::noTerminationSummary | ( | ) |
|
delete |
|
protected |
Definition at line 363 of file ELstatistics.cc.
References stats.
|
private |
Definition at line 345 of file ELstatistics.cc.
References formSummary(), stats, runGCPTkAlMap::title, and updatedStats.
void edm::service::ELstatistics::summary | ( | unsigned long | overfullWaitCount | ) |
Definition at line 351 of file ELstatistics.cc.
References formSummary(), stats, termStream, and updatedStats.
Referenced by ~ELstatistics().
void edm::service::ELstatistics::summaryForJobReport | ( | std::map< std::string, double > & | sm | ) |
Definition at line 368 of file ELstatistics.cc.
References eostools::cat(), dualLogName(), g, edm::messagelogger::ELseverityLevel::getLevel(), edm::ELseverityLevel::getName(), groupedCategories, mps_fire::i, dqmdumpme::k, dttmaxenums::L, dqmiodumpmetadata::n, edm::ELseverityLevel::nLevels, p3, alignCSCRings::s, edm::ELextendedID::severity, interestingDetIdCollectionProducer_cfi::severityLevel, stats, AlCaHLTBitMon_QueryRunRegistry::string, and submitPVValidationJobs::t.
|
overridevirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 209 of file ELstatistics.cc.
References edm::service::ELdestination::limits, stats, and edm::service::ELlimitsTable::wipe().
|
overrideprotectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 215 of file ELstatistics.cc.
References edm::service::ELdestination::limits, and edm::service::ELlimitsTable::zero().
|
friend |
Definition at line 50 of file ELstatistics.h.
|
staticprotected |
Definition at line 97 of file ELstatistics.h.
Referenced by formSummary(), noteGroupedCategory(), and summaryForJobReport().
|
protected |
Definition at line 95 of file ELstatistics.h.
Referenced by noTerminationSummary(), and ~ELstatistics().
|
protected |
Definition at line 91 of file ELstatistics.h.
Referenced by clearSummary(), formSummary(), log(), statisticsMap(), summary(), summaryForJobReport(), and wipe().
|
protected |
Definition at line 90 of file ELstatistics.h.
Referenced by log().
|
protected |
Definition at line 93 of file ELstatistics.h.
Referenced by summary(), and ~ELstatistics().
|
protected |
Definition at line 92 of file ELstatistics.h.
Referenced by log(), summary(), and ~ELstatistics().