TTimer is a container for a timer name and associated timers (TimeReport::Item's) More...
#include <TimerStack.h>
Public Member Functions | |
TimingReport::Item & | first () |
TimingReport::Item & | main () |
Timer (const std::string &name) | |
Private Member Functions | |
Timer () | |
Private Attributes | |
TimingReport::Item * | first_ |
TimingReport::Item * | main_ |
std::string | name_ |
TTimer is a container for a timer name and associated timers (TimeReport::Item's)
Definition at line 38 of file TimerStack.h.
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.
{}
TimingReport::Item& TimerStack::Timer::first | ( | ) | [inline] |
TimingReport::Item& TimerStack::Timer::main | ( | ) | [inline] |
TimingReport::Item* TimerStack::Timer::first_ [private] |
Definition at line 48 of file TimerStack.h.
Referenced by first().
TimingReport::Item* TimerStack::Timer::main_ [private] |
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.