#include <HLTPerformanceInfo.h>
Public Member Functions | |
void | clear () |
double | cputime () const |
Module () | |
Module (const char *n, const double dt, const double dtCPU, edm::HLTPathStatus stat=edm::hlt::Ready) | |
std::string | name () const |
bool | operator== (const char *tname) |
void | setCPUTime (double t) |
void | setStatus (edm::HLTPathStatus status) |
void | setTime (double t) |
edm::HLTPathStatus | status () const |
double | time () const |
Private Attributes | |
double | dt_ |
double | dtCPU_ |
std::string | name_ |
edm::HLTPathStatus | status_ |
Definition at line 20 of file HLTPerformanceInfo.h.
HLTPerformanceInfo::Module::Module | ( | ) | [inline] |
Definition at line 28 of file HLTPerformanceInfo.h.
: name_("unknown") {}
HLTPerformanceInfo::Module::Module | ( | const char * | n, |
const double | dt, | ||
const double | dtCPU, | ||
edm::HLTPathStatus | stat = edm::hlt::Ready |
||
) | [inline] |
void HLTPerformanceInfo::Module::clear | ( | void | ) | [inline] |
Definition at line 45 of file HLTPerformanceInfo.h.
References dt_, dtCPU_, edm::HLTPathStatus::reset(), and status_.
double HLTPerformanceInfo::Module::cputime | ( | ) | const [inline] |
std::string HLTPerformanceInfo::Module::name | ( | ) | const [inline] |
Definition at line 36 of file HLTPerformanceInfo.h.
References name_.
Referenced by operator==().
{ return name_; }
bool HLTPerformanceInfo::Module::operator== | ( | const char * | tname | ) | [inline] |
Definition at line 42 of file HLTPerformanceInfo.h.
References name().
{ return std::string(tname) == name(); }
void HLTPerformanceInfo::Module::setCPUTime | ( | double | t | ) | [inline] |
Definition at line 51 of file HLTPerformanceInfo.h.
References dtCPU_, and matplotRender::t.
void HLTPerformanceInfo::Module::setStatus | ( | edm::HLTPathStatus | status | ) | [inline] |
Definition at line 52 of file HLTPerformanceInfo.h.
References status(), and status_.
Referenced by HLTPerformanceInfo::setStatusOfModulesFromPath().
void HLTPerformanceInfo::Module::setTime | ( | double | t | ) | [inline] |
edm::HLTPathStatus HLTPerformanceInfo::Module::status | ( | ) | const [inline] |
Definition at line 41 of file HLTPerformanceInfo.h.
References status_.
Referenced by setStatus(), and HLTPerformanceInfo::setStatusOfModulesFromPath().
{ return status_; }
double HLTPerformanceInfo::Module::time | ( | ) | const [inline] |
double HLTPerformanceInfo::Module::dt_ [private] |
Definition at line 23 of file HLTPerformanceInfo.h.
double HLTPerformanceInfo::Module::dtCPU_ [private] |
Definition at line 24 of file HLTPerformanceInfo.h.
Referenced by clear(), cputime(), and setCPUTime().
std::string HLTPerformanceInfo::Module::name_ [private] |
Definition at line 22 of file HLTPerformanceInfo.h.
Referenced by name().
Definition at line 26 of file HLTPerformanceInfo.h.
Referenced by clear(), setStatus(), and status().