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

Constructor & Destructor Documentation

◆ Module() [1/2]

HLTPerformanceInfo::Module::Module ( )
inline

Definition at line 30 of file HLTPerformanceInfo.h.

30 : name_("unknown") {}

◆ Module() [2/2]

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.

33  : name_(n), dt_(dt), dtCPU_(dtCPU), status_(stat) {}

Member Function Documentation

◆ clear()

void HLTPerformanceInfo::Module::clear ( void  )
inline

Definition at line 39 of file HLTPerformanceInfo.h.

39  {
40  dt_ = 0;
41  dtCPU_ = 0;
42  status_.reset(); // = edm::hlt::Ready;
43  }

References dt_, dtCPU_, edm::HLTPathStatus::reset(), and status_.

Referenced by BeautifulSoup.Tag::setString().

◆ cputime()

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

Definition at line 36 of file HLTPerformanceInfo.h.

36 { return dtCPU_; }

References dtCPU_.

◆ name()

std::string HLTPerformanceInfo::Module::name ( ) const
inline

◆ operator==()

bool HLTPerformanceInfo::Module::operator== ( const char *  tname)
inline

Definition at line 38 of file HLTPerformanceInfo.h.

38 { return std::string(tname) == name(); }

References name(), AlCaHLTBitMon_QueryRunRegistry::string, and tname().

◆ setCPUTime()

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

Definition at line 45 of file HLTPerformanceInfo.h.

45 { dtCPU_ = t; }

References dtCPU_, and submitPVValidationJobs::t.

◆ setStatus()

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

Definition at line 46 of file HLTPerformanceInfo.h.

46 { status_ = status; }

References status(), and status_.

◆ setTime()

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

Definition at line 44 of file HLTPerformanceInfo.h.

44 { dt_ = t; }

References dt_, and submitPVValidationJobs::t.

◆ status()

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

Definition at line 37 of file HLTPerformanceInfo.h.

37 { return status_; }

References status_.

Referenced by setStatus().

◆ time()

double HLTPerformanceInfo::Module::time ( ) const
inline

Definition at line 35 of file HLTPerformanceInfo.h.

35 { return dt_; }

References dt_.

Member Data Documentation

◆ dt_

double HLTPerformanceInfo::Module::dt_
private

Definition at line 24 of file HLTPerformanceInfo.h.

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

◆ dtCPU_

double HLTPerformanceInfo::Module::dtCPU_
private

Definition at line 25 of file HLTPerformanceInfo.h.

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

◆ name_

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

Definition at line 23 of file HLTPerformanceInfo.h.

Referenced by name().

◆ status_

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

Definition at line 27 of file HLTPerformanceInfo.h.

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

HLTPerformanceInfo::Module::status
edm::HLTPathStatus status() const
Definition: HLTPerformanceInfo.h:37
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
HLTPerformanceInfo::Module::name_
std::string name_
Definition: HLTPerformanceInfo.h:23
dt
float dt
Definition: AMPTWrapper.h:136
HLTPerformanceInfo::Module::name
std::string name() const
Definition: HLTPerformanceInfo.h:34
HLTPerformanceInfo::Module::dt_
double dt_
Definition: HLTPerformanceInfo.h:24
edm::HLTPathStatus::reset
void reset()
reset this path
Definition: HLTPathStatus.h:54
tname
std::string tname(const std::string &tableName, const std::string &schemaVersion)
Definition: CredentialStore.cc:150
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm_modernize_messagelogger.stat
stat
Definition: edm_modernize_messagelogger.py:27
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
HLTPerformanceInfo::Module::status_
edm::HLTPathStatus status_
Definition: HLTPerformanceInfo.h:27
HLTPerformanceInfo::Module::dtCPU_
double dtCPU_
Definition: HLTPerformanceInfo.h:25