#include <IgProfService.h>
Public Member Functions | |
IgProfService (const ParameterSet &, ActivityRegistry &) | |
bool | isProcessWideService (IgProfService const *) |
void | postBeginJob () |
void | postBeginLumi (GlobalContext const &gc) |
void | postBeginRun (GlobalContext const &gc) |
void | postCloseFile (std::string const &, bool) |
void | postEndJob () |
void | postEndLumi (GlobalContext const &gc) |
void | postEndRun (GlobalContext const &gc) |
void | postEvent (StreamContext const &sc) |
void | postOpenFile (std::string const &, bool) |
void | preEvent (StreamContext const &sc) |
Private Member Functions | |
void | makeDump (const std::string &format) |
Static Private Member Functions | |
static std::string | replace (const std::string &s, const char *pat, int val) |
static std::string | replaceU64 (const std::string &s, const char *pat, unsigned long long val) |
Private Attributes | |
std::string | atPostBeginJob_ |
std::string | atPostBeginLumi_ |
std::string | atPostBeginRun_ |
std::string | atPostCloseFile_ |
std::string | atPostEndJob_ |
std::string | atPostEndLumi_ |
std::string | atPostEndRun_ |
std::string | atPostEvent_ |
std::string | atPostOpenFile_ |
std::string | atPreEvent_ |
void(* | dump_ )(const char *) |
int | mineventrecord_ |
edm::EventNumber_t | nevent_ |
int | nfileclosed_ |
int | nfileopened_ |
edm::LuminosityBlockNumber_t | nlumi_ |
int | nrecord_ |
edm::RunNumber_t | nrun_ |
int | prescale_ |
Definition at line 20 of file IgProfService.h.
IgProfService::IgProfService | ( | const ParameterSet & | ps, |
ActivityRegistry & | iRegistry | ||
) |
Definition at line 25 of file IgProfService.cc.
References atPostBeginJob_, atPostBeginLumi_, atPostBeginRun_, atPostCloseFile_, atPostEndJob_, atPostEndLumi_, atPostEndRun_, atPostEvent_, atPostOpenFile_, atPreEvent_, dump_, edm::ParameterSet::getUntrackedParameter(), mineventrecord_, postBeginJob(), postBeginLumi(), postBeginRun(), postCloseFile(), postEndJob(), postEndLumi(), postEndRun(), postEvent(), postOpenFile(), preEvent(), prescale_, AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostOpenFile(), and edm::ActivityRegistry::watchPreEvent().
|
inline |
Definition at line 46 of file IgProfService.h.
|
private |
Definition at line 151 of file IgProfService.cc.
References dump_, cmsPerfStripChart::format, nevent_, nfileclosed_, nfileopened_, nlumi_, nrecord_, nrun_, replace(), replaceU64(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by postBeginJob(), postBeginLumi(), postBeginRun(), postCloseFile(), postEndJob(), postEndLumi(), postEndRun(), postEvent(), postOpenFile(), and preEvent().
void IgProfService::postBeginJob | ( | ) |
Definition at line 102 of file IgProfService.cc.
References atPostBeginJob_, and makeDump().
Referenced by IgProfService().
void IgProfService::postBeginLumi | ( | GlobalContext const & | gc | ) |
Definition at line 110 of file IgProfService.cc.
References atPostBeginLumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), makeDump(), and nlumi_.
Referenced by IgProfService().
void IgProfService::postBeginRun | ( | GlobalContext const & | gc | ) |
Definition at line 106 of file IgProfService.cc.
References atPostBeginRun_, edm::GlobalContext::luminosityBlockID(), makeDump(), nrun_, and edm::LuminosityBlockID::run().
Referenced by IgProfService().
void IgProfService::postCloseFile | ( | std::string const & | , |
bool | |||
) |
Definition at line 146 of file IgProfService.cc.
References atPostCloseFile_, makeDump(), and nfileclosed_.
Referenced by IgProfService().
void IgProfService::postEndJob | ( | ) |
Definition at line 137 of file IgProfService.cc.
References atPostEndJob_, and makeDump().
Referenced by IgProfService().
void IgProfService::postEndLumi | ( | GlobalContext const & | gc | ) |
Definition at line 129 of file IgProfService.cc.
References atPostEndLumi_, and makeDump().
Referenced by IgProfService().
void IgProfService::postEndRun | ( | GlobalContext const & | gc | ) |
Definition at line 133 of file IgProfService.cc.
References atPostEndRun_, and makeDump().
Referenced by IgProfService().
void IgProfService::postEvent | ( | StreamContext const & | sc | ) |
Definition at line 122 of file IgProfService.cc.
References atPostEvent_, edm::EventID::event(), edm::StreamContext::eventID(), makeDump(), mineventrecord_, nevent_, nrecord_, and prescale_.
Referenced by IgProfService().
void IgProfService::postOpenFile | ( | std::string const & | , |
bool | |||
) |
Definition at line 141 of file IgProfService.cc.
References atPostOpenFile_, makeDump(), and nfileopened_.
Referenced by IgProfService().
void IgProfService::preEvent | ( | StreamContext const & | sc | ) |
Definition at line 114 of file IgProfService.cc.
References atPreEvent_, edm::EventID::event(), edm::StreamContext::eventID(), makeDump(), mineventrecord_, nevent_, nrecord_, and prescale_.
Referenced by IgProfService().
|
staticprivate |
Definition at line 166 of file IgProfService.cc.
References gen::n, query::result, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeDump().
|
staticprivate |
Definition at line 182 of file IgProfService.cc.
References gen::n, query::result, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeDump().
|
private |
Definition at line 60 of file IgProfService.h.
Referenced by IgProfService(), and postBeginJob().
|
private |
Definition at line 62 of file IgProfService.h.
Referenced by IgProfService(), and postBeginLumi().
|
private |
Definition at line 61 of file IgProfService.h.
Referenced by IgProfService(), and postBeginRun().
|
private |
Definition at line 72 of file IgProfService.h.
Referenced by IgProfService(), and postCloseFile().
|
private |
Definition at line 69 of file IgProfService.h.
Referenced by IgProfService(), and postEndJob().
|
private |
Definition at line 67 of file IgProfService.h.
Referenced by IgProfService(), and postEndLumi().
|
private |
Definition at line 68 of file IgProfService.h.
Referenced by IgProfService(), and postEndRun().
|
private |
Definition at line 65 of file IgProfService.h.
Referenced by IgProfService(), and postEvent().
|
private |
Definition at line 71 of file IgProfService.h.
Referenced by IgProfService(), and postOpenFile().
|
private |
Definition at line 64 of file IgProfService.h.
Referenced by IgProfService(), and preEvent().
|
private |
Definition at line 58 of file IgProfService.h.
Referenced by IgProfService(), and makeDump().
|
private |
Definition at line 74 of file IgProfService.h.
Referenced by IgProfService(), postEvent(), and preEvent().
|
private |
Definition at line 77 of file IgProfService.h.
Referenced by makeDump(), postEvent(), and preEvent().
|
private |
Definition at line 81 of file IgProfService.h.
Referenced by makeDump(), and postCloseFile().
|
private |
Definition at line 80 of file IgProfService.h.
Referenced by makeDump(), and postOpenFile().
|
private |
Definition at line 79 of file IgProfService.h.
Referenced by makeDump(), and postBeginLumi().
|
private |
Definition at line 76 of file IgProfService.h.
Referenced by makeDump(), postEvent(), and preEvent().
|
private |
Definition at line 78 of file IgProfService.h.
Referenced by makeDump(), and postBeginRun().
|
private |
Definition at line 75 of file IgProfService.h.
Referenced by IgProfService(), postEvent(), and preEvent().