CMS 3D CMS Logo

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.

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.

void HLTPerformanceInfo::Module::setCPUTime ( double  t)
inline

Definition at line 51 of file HLTPerformanceInfo.h.

References protons_cff::t.

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

Definition at line 52 of file HLTPerformanceInfo.h.

References status().

Referenced by HLTPerformanceInfo::setStatusOfModulesFromPath().

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

Definition at line 50 of file HLTPerformanceInfo.h.

References protons_cff::t.

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

double HLTPerformanceInfo::Module::dtCPU_
private

Definition at line 24 of file HLTPerformanceInfo.h.

Referenced by cputime().

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

Definition at line 22 of file HLTPerformanceInfo.h.

Referenced by name(), and HLTPerformanceInfo::Path::name().

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

Definition at line 26 of file HLTPerformanceInfo.h.

Referenced by status(), and HLTPerformanceInfo::Path::status().