#include <TimingReport.h>
Classes | |
class | Item |
Public Types | |
typedef BaseEvent< std::pair < double, double > > | ItemObserver |
Public Member Functions | |
void | dump (std::ostream &co, bool active=false) |
bool & | inTicks () |
report in ticks More... | |
const bool & | isOn () const |
Item & | make (const std::string &name) |
Item & | operator[] (const std::string &name) |
const Item & | operator[] (const std::string &name) const |
void | start (const std::string &name) |
void | stop (const std::string &name) |
void | switchOn (bool ion) |
switch all on More... | |
void | switchOn (const std::string &name, bool ion) |
switch one ion More... | |
~TimingReport () | |
Static Public Member Functions | |
static TimingReport * | current () |
Protected Types | |
typedef std::map< std::string, Item, std::less< std::string > > | SMAP |
Protected Member Functions | |
TimingReport () | |
Private Attributes | |
bool | inTicks_ |
bool | on |
SMAP | registry |
Definition at line 22 of file TimingReport.h.
typedef BaseEvent< std::pair<double,double> > TimingReport::ItemObserver |
Definition at line 24 of file TimingReport.h.
|
protected |
Definition at line 63 of file TimingReport.h.
|
protected |
TimingReport::~TimingReport | ( | ) |
|
static |
Definition at line 21 of file TimingReport.cc.
References TimingReport().
Referenced by R2DTimerObserver::init(), HTimerStack::push(), TimerStack::push(), muonisolation::CaloExtractorByAssociator::~CaloExtractorByAssociator(), and muonisolation::JetExtractor::~JetExtractor().
void TimingReport::dump | ( | std::ostream & | co, |
bool | active = false |
||
) |
make the output sorted
Definition at line 50 of file TimingReport.cc.
References cmsDriverOptions::counter, ExpressReco_HICollisions_FallBack::e, inTicks(), max(), L1TEmulatorMonitor_cff::p, registry, and GenTimer< PentiumTime >::ticksInSec().
Referenced by muonisolation::CaloExtractorByAssociator::~CaloExtractorByAssociator(), muonisolation::JetExtractor::~JetExtractor(), and ~TimingReport().
|
inline |
report in ticks
Definition at line 74 of file TimingReport.h.
References inTicks_.
Referenced by dump().
|
inline |
|
inline |
Definition at line 103 of file TimingReport.h.
References AlCaRecoCosmics_cfg::name, on, and registry.
Referenced by operator[]().
|
inline |
Definition at line 91 of file TimingReport.h.
References make(), L1TEmulatorMonitor_cff::p, and registry.
|
inline |
|
inline |
Definition at line 84 of file TimingReport.h.
References AlCaRecoCosmics_cfg::name, on, and registry.
|
inline |
Definition at line 87 of file TimingReport.h.
References AlCaRecoCosmics_cfg::name, on, and registry.
void TimingReport::switchOn | ( | bool | ion | ) |
switch all on
Definition at line 35 of file TimingReport.cc.
References ExpressReco_HICollisions_FallBack::e, on, L1TEmulatorMonitor_cff::p, and registry.
|
inline |
switch one ion
Definition at line 80 of file TimingReport.h.
References AlCaRecoCosmics_cfg::name, and registry.
|
private |
Definition at line 112 of file TimingReport.h.
Referenced by inTicks().
|
private |
Definition at line 111 of file TimingReport.h.
Referenced by isOn(), make(), start(), stop(), switchOn(), and ~TimingReport().
|
private |
Definition at line 113 of file TimingReport.h.
Referenced by dump(), make(), operator[](), start(), stop(), and switchOn().