CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HLTPerformanceInfo::Module Class Reference

#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_
 

Detailed Description

Definition at line 21 of file HLTPerformanceInfo.h.

Constructor & Destructor Documentation

HLTPerformanceInfo::Module::Module ( )
inline

Definition at line 29 of file HLTPerformanceInfo.h.

30  : name_("unknown")
31  {}
HLTPerformanceInfo::Module::Module ( const char *  n,
const double  dt,
const double  dtCPU,
edm::HLTPathStatus  stat = edm::hlt::Ready 
)
inline

Definition at line 33 of file HLTPerformanceInfo.h.

35  : name_(n), dt_(dt), dtCPU_(dtCPU), status_(stat)
36  { }
float dt
Definition: AMPTWrapper.h:126

Member Function Documentation

void HLTPerformanceInfo::Module::clear ( void  )
inline
double HLTPerformanceInfo::Module::cputime ( ) const
inline

Definition at line 41 of file HLTPerformanceInfo.h.

References dtCPU_.

41 { return dtCPU_; }
std::string HLTPerformanceInfo::Module::name ( ) const
inline
bool HLTPerformanceInfo::Module::operator== ( const char *  tname)
inline

Definition at line 43 of file HLTPerformanceInfo.h.

References name(), and AlCaHLTBitMon_QueryRunRegistry::string.

43  {
44  return std::string(tname) == name();
45  }
std::string name() const
void HLTPerformanceInfo::Module::setCPUTime ( double  t)
inline

Definition at line 52 of file HLTPerformanceInfo.h.

References dtCPU_, and lumiQTWidget::t.

void HLTPerformanceInfo::Module::setStatus ( edm::HLTPathStatus  status)
inline

Definition at line 53 of file HLTPerformanceInfo.h.

References status(), and status_.

Referenced by HLTPerformanceInfo::setStatusOfModulesFromPath().

53 { status_=status;}
edm::HLTPathStatus status() const
void HLTPerformanceInfo::Module::setTime ( double  t)
inline

Definition at line 51 of file HLTPerformanceInfo.h.

References dt_, and lumiQTWidget::t.

edm::HLTPathStatus HLTPerformanceInfo::Module::status ( ) const
inline

Definition at line 42 of file HLTPerformanceInfo.h.

References status_.

Referenced by setStatus(), and HLTPerformanceInfo::setStatusOfModulesFromPath().

42 { return status_; }
double HLTPerformanceInfo::Module::time ( ) const
inline

Definition at line 40 of file HLTPerformanceInfo.h.

References dt_.

40 { return dt_; }

Member Data Documentation

double HLTPerformanceInfo::Module::dt_
private

Definition at line 24 of file HLTPerformanceInfo.h.

Referenced by clear(), setTime(), and time().

double HLTPerformanceInfo::Module::dtCPU_
private

Definition at line 25 of file HLTPerformanceInfo.h.

Referenced by clear(), cputime(), and setCPUTime().

std::string HLTPerformanceInfo::Module::name_
private

Definition at line 23 of file HLTPerformanceInfo.h.

Referenced by name().

edm::HLTPathStatus HLTPerformanceInfo::Module::status_
private

Definition at line 27 of file HLTPerformanceInfo.h.

Referenced by clear(), setStatus(), and status().