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 20 of file HLTPerformanceInfo.h.

Constructor & Destructor Documentation

HLTPerformanceInfo::Module::Module ( )
inline

Definition at line 28 of file HLTPerformanceInfo.h.

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

Definition at line 32 of file HLTPerformanceInfo.h.

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

Member Function Documentation

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

Definition at line 40 of file HLTPerformanceInfo.h.

References dtCPU_.

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

Definition at line 42 of file HLTPerformanceInfo.h.

References name(), and AlCaHLTBitMon_QueryRunRegistry::string.

42  {
43  return std::string(tname) == name();
44  }
std::string name() const
void HLTPerformanceInfo::Module::setCPUTime ( double  t)
inline
void HLTPerformanceInfo::Module::setStatus ( edm::HLTPathStatus  status)
inline

Definition at line 52 of file HLTPerformanceInfo.h.

References status(), and status_.

Referenced by HLTPerformanceInfo::setStatusOfModulesFromPath().

52 { status_=status;}
edm::HLTPathStatus status() const
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().

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

Definition at line 39 of file HLTPerformanceInfo.h.

References dt_.

39 { return dt_; }

Member Data Documentation

double HLTPerformanceInfo::Module::dt_
private

Definition at line 23 of file HLTPerformanceInfo.h.

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

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().

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

Definition at line 26 of file HLTPerformanceInfo.h.

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