A timer designed for diagnostics. More...
#include <common/common.hh>

Public Member Functions | |
| DiagnosticTimer (const std::string &_name) | |
| Constructor. | |
| virtual | ~DiagnosticTimer () |
| Destructor. | |
| const std::string | GetName () const |
| Get the name of the timer. | |
Public Member Functions inherited from gazebo::common::Timer | |
| Timer () | |
| Constructor. | |
| virtual | ~Timer () |
| Destructor. | |
| Time | GetElapsed () const |
| Get the elapsed time. | |
| void | Start () |
| Start the timer. | |
A timer designed for diagnostics.
|
inline |
Constructor.
| [in] | _name | Name of the timer |
References gazebo::common::Timer::Start(), and gazebo::common::DiagnosticManager::TimerStart().
|
inlinevirtual |
Destructor.
References gazebo::common::DiagnosticManager::TimerStop().
|
inline |
Get the name of the timer.