#include <PathTimerService.h>
Public Member Functions | |
std::auto_ptr< HLTPerformanceInfo > | getInfo () |
PathTimerService (const ParameterSet &, ActivityRegistry &) | |
~PathTimerService () | |
Public Attributes | |
sigc::signal< void, const edm::ModuleDescription &, double > | newMeasurementSignal |
Private Member Functions | |
void | postBeginJob () |
void | postEndJob () |
void | postEventProcessing (const Event &, const EventSetup &) |
void | postModule (const ModuleDescription &) |
void | postPathProcessing (const std::string &, const HLTPathStatus &) |
void | preEventProcessing (const edm::EventID &, const edm::Timestamp &) |
void | preModule (const ModuleDescription &) |
Private Attributes | |
std::map< std::string, unsigned int > | _lastModuleToRun |
std::map< std::string, double > | _moduleCPUTime |
std::map< std::string, std::string > | _moduleList |
std::map< std::string, double > | _moduleTime |
ParameterSet | _myPS |
std::vector< std::vector < unsigned int > > | _newPathIndex |
std::map< int, std::string > | _pathMapping |
std::auto_ptr< HLTPerformanceInfo > | _perfInfo |
edm::EventID | curr_event_ |
double | curr_event_time_ |
double | curr_job_ |
double | curr_module_time_ |
double | max_event_time_ |
double | min_event_time_ |
int | total_event_count_ |
Static Private Attributes | |
static edm::CPUTimer * | _CPUtimer = 0 |
Definition at line 24 of file PathTimerService.h.
edm::service::PathTimerService::PathTimerService | ( | const ParameterSet & | iPS, |
ActivityRegistry & | iRegistry | ||
) |
Definition at line 38 of file PathTimerService.cc.
References _CPUtimer, _myPS, postBeginJob(), postEndJob(), postEventProcessing(), postModule(), postPathProcessing(), preEventProcessing(), preModule(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostModule(), edm::ActivityRegistry::watchPostProcessEvent(), edm::ActivityRegistry::watchPostProcessPath(), edm::ActivityRegistry::watchPreModule(), and edm::ActivityRegistry::watchPreProcessEvent().
edm::service::PathTimerService::~PathTimerService | ( | ) |
Definition at line 59 of file PathTimerService.cc.
References _CPUtimer.
|
inline |
Definition at line 32 of file PathTimerService.h.
References _perfInfo.
Referenced by PathTimerInserter::produce().
|
private |
Definition at line 67 of file PathTimerService.cc.
References _moduleCPUTime, _moduleTime, _newPathIndex, _pathMapping, _perfInfo, curr_job_, funct::false, edm::service::getTime(), edm::service::TriggerNamesService::getTrigPathModules(), edm::service::TriggerNamesService::getTrigPaths(), i, j, gen::k, edm::hlt::Ready, and funct::true.
Referenced by PathTimerService().
|
private |
|
private |
Definition at line 128 of file PathTimerService.cc.
References total_event_count_.
Referenced by PathTimerService().
|
private |
Definition at line 137 of file PathTimerService.cc.
References _CPUtimer, _moduleCPUTime, _moduleTime, _perfInfo, edm::CPUTimer::cpuTime(), edm::ModuleDescription::moduleLabel(), edm::CPUTimer::realTime(), edm::CPUTimer::reset(), and edm::CPUTimer::stop().
Referenced by PathTimerService().
|
private |
Definition at line 156 of file PathTimerService.cc.
References _newPathIndex, _perfInfo, edm::HLTPathStatus::index(), AlCaRecoCosmics_cfg::name, and edm::HLTPathStatus::state().
Referenced by PathTimerService().
|
private |
Definition at line 108 of file PathTimerService.cc.
References _moduleCPUTime, _moduleTime, _perfInfo, curr_event_, curr_event_time_, and edm::service::getTime().
Referenced by PathTimerService().
|
private |
Definition at line 132 of file PathTimerService.cc.
References _CPUtimer, edm::CPUTimer::reset(), and edm::CPUTimer::start().
Referenced by PathTimerService().
|
staticprivate |
Definition at line 64 of file PathTimerService.h.
Referenced by PathTimerService(), postModule(), preModule(), and ~PathTimerService().
|
private |
Definition at line 61 of file PathTimerService.h.
|
private |
Definition at line 59 of file PathTimerService.h.
Referenced by postBeginJob(), postModule(), and preEventProcessing().
|
private |
Definition at line 57 of file PathTimerService.h.
|
private |
Definition at line 58 of file PathTimerService.h.
Referenced by postBeginJob(), postModule(), and preEventProcessing().
|
private |
Definition at line 56 of file PathTimerService.h.
Referenced by PathTimerService().
|
private |
Definition at line 63 of file PathTimerService.h.
Referenced by postBeginJob(), and postPathProcessing().
|
private |
Definition at line 60 of file PathTimerService.h.
Referenced by postBeginJob().
|
private |
Definition at line 62 of file PathTimerService.h.
Referenced by getInfo(), postBeginJob(), postModule(), postPathProcessing(), and preEventProcessing().
|
private |
Definition at line 44 of file PathTimerService.h.
Referenced by preEventProcessing().
|
private |
Definition at line 46 of file PathTimerService.h.
Referenced by preEventProcessing().
|
private |
Definition at line 45 of file PathTimerService.h.
Referenced by postBeginJob().
|
private |
Definition at line 47 of file PathTimerService.h.
|
private |
Definition at line 52 of file PathTimerService.h.
|
private |
Definition at line 53 of file PathTimerService.h.
sigc::signal<void, const edm::ModuleDescription&, double> edm::service::PathTimerService::newMeasurementSignal |
Definition at line 30 of file PathTimerService.h.
|
private |
Definition at line 54 of file PathTimerService.h.
Referenced by postEventProcessing().