#include <TimerService.h>
Public Member Functions | |
void | postModule (const edm::ModuleDescription &iMod) |
void | preModule (const edm::ModuleDescription &iMod) |
TimerService (const edm::ParameterSet &, edm::ActivityRegistry &iAR) | |
~TimerService () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Public Attributes | |
sigc::signal< void, const edm::ModuleDescription &, double > | newMeasurementSignal |
Private Attributes | |
hlt::CPUTimer | cpu_timer |
bool | is_bound_ |
bool | useCPUtime |
Description: Class accessing CPUTimer to record processing-time info per module (either CPU-time or wall-clock-time)
Original Author: Christos Leonidopoulos, March 2007
Definition at line 84 of file TimerService.h.
TimerService::TimerService | ( | const edm::ParameterSet & | ps, |
edm::ActivityRegistry & | iAR | ||
) |
Definition at line 9 of file TimerService.cc.
References CPUAffinity::bindToCurrentCpu(), CPUAffinity::currentCpu(), is_bound_, postModule(), preModule(), useCPUtime, edm::ActivityRegistry::watchPostModule(), and edm::ActivityRegistry::watchPreModule().
TimerService::~TimerService | ( | ) |
Definition at line 29 of file TimerService.cc.
References gather_cfg::cout, is_bound_, and useCPUtime.
|
static |
Definition at line 40 of file TimerService.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::addUntracked().
void TimerService::postModule | ( | const edm::ModuleDescription & | iMod | ) |
Definition at line 54 of file TimerService.cc.
References cpu_timer, hlt::CPUTimer::delta(), newMeasurementSignal, and hlt::CPUTimer::stop().
Referenced by TimerService().
void TimerService::preModule | ( | const edm::ModuleDescription & | iMod | ) |
Definition at line 47 of file TimerService.cc.
References cpu_timer, hlt::CPUTimer::reset(), and hlt::CPUTimer::start().
Referenced by TimerService().
|
private |
Definition at line 103 of file TimerService.h.
Referenced by postModule(), and preModule().
|
private |
Definition at line 106 of file TimerService.h.
Referenced by TimerService(), and ~TimerService().
sigc::signal<void, const edm::ModuleDescription&, double> TimerService::newMeasurementSignal |
Definition at line 91 of file TimerService.h.
Referenced by postModule(), and Timer::Timer().
|
private |
Definition at line 100 of file TimerService.h.
Referenced by TimerService(), and ~TimerService().