CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::ModuleTime Class Reference

#include <ModuleTiming.h>

Public Member Functions

 ModuleTime ()
 
 ModuleTime (std::string Name, double Time)
 
std::string name () const
 
double time () const
 
 ~ModuleTime ()
 

Private Attributes

std::string name_
 
double time_
 

Detailed Description

Definition at line 12 of file ModuleTiming.h.

Constructor & Destructor Documentation

◆ ModuleTime() [1/2]

edm::ModuleTime::ModuleTime ( )
inline

Definition at line 14 of file ModuleTiming.h.

14 : name_(""), time_(-1) {}

◆ ModuleTime() [2/2]

edm::ModuleTime::ModuleTime ( std::string  Name,
double  Time 
)
inline

Definition at line 15 of file ModuleTiming.h.

15 : name_(Name), time_(Time) {}

◆ ~ModuleTime()

edm::ModuleTime::~ModuleTime ( )
inline

Definition at line 16 of file ModuleTiming.h.

16 {}

Member Function Documentation

◆ name()

std::string edm::ModuleTime::name ( ) const
inline

Definition at line 18 of file ModuleTiming.h.

18 { return name_; } // module name ("label")

References name_.

Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().

◆ time()

double edm::ModuleTime::time ( ) const
inline

Definition at line 19 of file ModuleTiming.h.

19 { return time_; } // processing time for event (secs)

References time_.

Member Data Documentation

◆ name_

std::string edm::ModuleTime::name_
private

Definition at line 21 of file ModuleTiming.h.

Referenced by name().

◆ time_

double edm::ModuleTime::time_
private

Definition at line 22 of file ModuleTiming.h.

Referenced by time().

SiStripClientConfig_Tier0_cff.Name
Name
Definition: SiStripClientConfig_Tier0_cff.py:12
edm::ModuleTime::time_
double time_
Definition: ModuleTiming.h:22
RecoSummaryTask_cfi.Time
Time
Definition: RecoSummaryTask_cfi.py:34
edm::ModuleTime::name_
std::string name_
Definition: ModuleTiming.h:21