CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

TimerStack::Timer Class Reference

TTimer is a container for a timer name and associated timers (TimeReport::Item's) More...

#include <TimerStack.h>

List of all members.

Public Member Functions

TimingReport::Itemfirst ()
TimingReport::Itemmain ()
 Timer (const std::string &name)

Private Member Functions

 Timer ()

Private Attributes

TimingReport::Itemfirst_
TimingReport::Itemmain_
std::string name_

Detailed Description

TTimer is a container for a timer name and associated timers (TimeReport::Item's)

Definition at line 38 of file TimerStack.h.


Constructor & Destructor Documentation

TimerStack::Timer::Timer ( const std::string &  name) [inline]

Definition at line 40 of file TimerStack.h.

                                  :
        first_( &( (*TimingReport::current())["firstcall_"+name] ) ),
        main_( &( (*TimingReport::current())[name] ) ),
        name_(name){}
TimerStack::Timer::Timer ( ) [inline, private]

Definition at line 47 of file TimerStack.h.

{}

Member Function Documentation

TimingReport::Item& TimerStack::Timer::first ( ) [inline]

Definition at line 44 of file TimerStack.h.

References first_.

{ return *first_; }
TimingReport::Item& TimerStack::Timer::main ( ) [inline]

Definition at line 45 of file TimerStack.h.

References main_.

{ return *main_; }

Member Data Documentation

Definition at line 48 of file TimerStack.h.

Referenced by first().

Definition at line 49 of file TimerStack.h.

Referenced by main().

std::string TimerStack::Timer::name_ [private]

Definition at line 50 of file TimerStack.h.