#include <ELstatistics.h>
Public Member Functions | |
ELstatistics () | |
ELstatistics (std::ostream &osp) | |
ELstatistics (int spaceLimit) | |
ELstatistics (int spaceLimit, std::ostream &osp) | |
ELstatistics (const ELstatistics &orig) | |
bool | log (const edm::ErrorObj &msg) override |
void | noTerminationSummary () |
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 (std::ostream &os) |
virtual void | changeFile (const ELstring &filename) |
ELdestination () | |
virtual void | excludeModule (ELstring const &moduleName) |
virtual void | filterModule (ELstring const &moduleName) |
virtual void | finish () |
virtual void | flush () |
virtual int | getLineLength () const |
virtual ELstring | getNewline () const |
virtual void | ignoreModule (ELstring const &moduleName) |
virtual void | includeContext () |
virtual void | includeModule () |
virtual void | includeSerial () |
virtual void | includeSubroutine () |
virtual void | includeText () |
virtual void | includeTime () |
virtual void | respondToModule (ELstring const &moduleName) |
virtual void | separateEpilogue () |
virtual void | separateTime () |
void | setInterval (const ELstring &s, int interval) |
void | setInterval (const ELseverityLevel &sv, int interval) |
void | setLimit (const ELstring &s, int n) |
void | setLimit (const ELseverityLevel &sv, int n) |
virtual int | setLineLength (int len) |
virtual void | setTableLimit (int n) |
void | setThreshold (const ELseverityLevel &sv) |
void | setTimespan (const ELstring &s, int n) |
void | setTimespan (const ELseverityLevel &sv, int n) |
void | setTraceThreshold (const ELseverityLevel &sv) |
virtual void | suppressContext () |
virtual void | suppressModule () |
virtual void | suppressSerial () |
virtual void | suppressSubroutine () |
virtual void | suppressText () |
virtual void | suppressTime () |
virtual bool | thisShouldBeIgnored (const ELstring &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 ELstring | 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 |
ELstring | indent |
ELlimitsTable | limits |
int | lineLength |
ELstring | newline |
ELstring | preamble |
bool | respondToMostModules |
std::unordered_set< std::string > | respondToThese |
ELseverityLevel | threshold |
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) |
ELstatistics & | operator= (const ELstatistics &orig)=delete |
void | summary (std::ostream &os, const ELstring &title) |
Friends | |
class | ELadministrator |
Definition at line 50 of file ELstatistics.h.
edm::service::ELstatistics::ELstatistics | ( | ) |
edm::service::ELstatistics::ELstatistics | ( | std::ostream & | osp | ) |
Definition at line 61 of file ELstatistics.cc.
References MessageLogger_cfi::cerr.
edm::service::ELstatistics::ELstatistics | ( | int | spaceLimit | ) |
edm::service::ELstatistics::ELstatistics | ( | int | spaceLimit, |
std::ostream & | osp | ||
) |
edm::service::ELstatistics::ELstatistics | ( | const ELstatistics & | orig | ) |
Definition at line 95 of file ELstatistics.cc.
References MessageLogger_cfi::cerr, edm::service::ELdestination::ignoreMostModules, edm::service::ELdestination::ignoreThese, edm::service::ELdestination::respondToMostModules, and edm::service::ELdestination::respondToThese.
|
override |
Definition at line 113 of file ELstatistics.cc.
References MessageLogger_cfi::cerr, printAtTermination, summary(), termStream, and updatedStats.
|
protected |
Definition at line 195 of file ELstatistics.cc.
References edm::service::ELdestination::limits, alignCSCRings::s, stats, and edm::service::ELlimitsTable::zero().
|
private |
Definition at line 464 of file ELstatistics.cc.
References groupedCategories.
Referenced by summaryForJobReport().
|
staticprotected |
Definition at line 213 of file ELstatistics.cc.
References eostools::cat(), g, edm::ELseverityLevel::getLevel(), edm::ELseverityLevel::getName(), edm::ELseverityLevel::getSymbol(), groupedCategories, mps_fire::i, gen::k, dttmaxenums::L, gen::n, edm::ELseverityLevel::nLevels, p3, alignCSCRings::s, edm::ELextendedID::severity, interestingDetIdCollectionProducer_cfi::severityLevel, AlCaHLTBitMon_QueryRunRegistry::string, and lumiQTWidget::t.
Referenced by summary().
|
overridevirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 150 of file ELstatistics.cc.
References MessageLogger_cfi::cerr, edm::ErrorObj::context(), edm::ELextendedID::module, edm::ErrorObj::reactedTo(), alignCSCRings::s, edm::ELextendedID::severity, stats, edm::service::summarizeContext(), tableLimit, edm::service::ELdestination::thisShouldBeIgnored(), edm::service::ELdestination::threshold, updatedStats, and edm::ErrorObj::xid().
|
static |
Definition at line 480 of file ELstatistics.cc.
References groupedCategories.
Referenced by edm::service::ThreadSafeLogMessageLoggerScribe::runCommand(), and edm::service::MessageLoggerScribe::runCommand().
void edm::service::ELstatistics::noTerminationSummary | ( | ) |
|
privatedelete |
|
protected |
void edm::service::ELstatistics::summary | ( | unsigned long | overfullWaitCount | ) |
Definition at line 347 of file ELstatistics.cc.
References formSummary(), stats, termStream, and updatedStats.
Referenced by ~ELstatistics().
|
private |
Definition at line 341 of file ELstatistics.cc.
References formSummary(), stats, and updatedStats.
void edm::service::ELstatistics::summaryForJobReport | ( | std::map< std::string, double > & | sm | ) |
Definition at line 364 of file ELstatistics.cc.
References eostools::cat(), dualLogName(), g, edm::ELseverityLevel::getLevel(), edm::ELseverityLevel::getName(), edm::ELseverityLevel::getSymbol(), groupedCategories, mps_fire::i, gen::k, dttmaxenums::L, gen::n, edm::ELseverityLevel::nLevels, p3, alignCSCRings::s, edm::ELextendedID::severity, interestingDetIdCollectionProducer_cfi::severityLevel, stats, AlCaHLTBitMon_QueryRunRegistry::string, and lumiQTWidget::t.
|
overridevirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 205 of file ELstatistics.cc.
References edm::service::ELdestination::limits, stats, and edm::service::ELlimitsTable::wipe().
|
overrideprotectedvirtual |
Reimplemented from edm::service::ELdestination.
Definition at line 211 of file ELstatistics.cc.
References edm::service::ELdestination::limits, and edm::service::ELlimitsTable::zero().
|
friend |
Definition at line 51 of file ELstatistics.h.
|
staticprotected |
Definition at line 103 of file ELstatistics.h.
Referenced by dualLogName(), formSummary(), noteGroupedCategory(), and summaryForJobReport().
|
protected |
Definition at line 101 of file ELstatistics.h.
Referenced by noTerminationSummary(), and ~ELstatistics().
|
protected |
Definition at line 97 of file ELstatistics.h.
Referenced by clearSummary(), log(), statisticsMap(), summary(), summaryForJobReport(), and wipe().
|
protected |
Definition at line 96 of file ELstatistics.h.
Referenced by log().
|
protected |
Definition at line 99 of file ELstatistics.h.
Referenced by summary(), and ~ELstatistics().
|
protected |
Definition at line 98 of file ELstatistics.h.
Referenced by log(), summary(), and ~ELstatistics().