CMS 3D CMS Logo

Public Member Functions | Private Attributes

HLTPerformanceInfo::Module Class Reference

#include <HLTPerformanceInfo.h>

List of all members.

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.

      : name_("unknown")
    {}
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.

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

Member Function Documentation

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

Definition at line 45 of file HLTPerformanceInfo.h.

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

                 {
      dt_ = 0 ;
      dtCPU_ = 0 ; 
      status_.reset();// = edm::hlt::Ready;
    }
double HLTPerformanceInfo::Module::cputime ( ) const [inline]

Definition at line 40 of file HLTPerformanceInfo.h.

References dtCPU_.

{ return dtCPU_; }
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 lumiQTWidget::t.

{ dtCPU_=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]

Definition at line 50 of file HLTPerformanceInfo.h.

References dt_, and lumiQTWidget::t.

{ dt_=t;}
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]

Definition at line 39 of file HLTPerformanceInfo.h.

References dt_.

{ return dt_; }

Member Data Documentation

Definition at line 23 of file HLTPerformanceInfo.h.

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

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