#include <RunStopwatch.h>
Public Types | |
typedef boost::shared_ptr < CPUTimer > | StopwatchPointer |
Public Member Functions | |
RunStopwatch (const StopwatchPointer &ptr) | |
~RunStopwatch () | |
Private Attributes | |
StopwatchPointer | stopwatch_ |
Definition at line 20 of file RunStopwatch.h.
typedef boost::shared_ptr<CPUTimer> edm::RunStopwatch::StopwatchPointer |
Definition at line 23 of file RunStopwatch.h.
edm::RunStopwatch::RunStopwatch | ( | const StopwatchPointer & | ptr | ) | [inline] |
Definition at line 25 of file RunStopwatch.h.
References stopwatch_.
: stopwatch_(ptr) { if(stopwatch_) { stopwatch_->start(); } }
edm::RunStopwatch::~RunStopwatch | ( | ) | [inline] |
Definition at line 31 of file RunStopwatch.h.
References stopwatch_.
{ if(stopwatch_) { stopwatch_->stop(); } }
Definition at line 38 of file RunStopwatch.h.
Referenced by RunStopwatch(), and ~RunStopwatch().