CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::ModuleTime Class Reference

#include <ModuleTiming.h>

List of all members.

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 13 of file ModuleTiming.h.


Constructor & Destructor Documentation

edm::ModuleTime::ModuleTime ( ) [inline]

Definition at line 16 of file ModuleTiming.h.

: name_(""), time_(-1) {}
edm::ModuleTime::ModuleTime ( std::string  Name,
double  Time 
) [inline]

Definition at line 17 of file ModuleTiming.h.

: name_(Name), time_(Time) {}
edm::ModuleTime::~ModuleTime ( ) [inline]

Definition at line 18 of file ModuleTiming.h.

{}

Member Function Documentation

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

Definition at line 20 of file ModuleTiming.h.

References name_.

{return name_;} // module name ("label")
double edm::ModuleTime::time ( ) const [inline]

Definition at line 21 of file ModuleTiming.h.

References time_.

Referenced by edm::EventTime::addModuleTime().

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

Member Data Documentation

std::string edm::ModuleTime::name_ [private]

Definition at line 23 of file ModuleTiming.h.

Referenced by name().

double edm::ModuleTime::time_ [private]

Definition at line 24 of file ModuleTiming.h.

Referenced by time().