A timer class, used to time things in real world walltime. More...
#include <common/common.hh>

Public Member Functions | |
| Timer () | |
| Constructor. | |
| virtual | ~Timer () |
| Destructor. | |
| Time | GetElapsed () const |
| Get the elapsed time. | |
| void | Start () |
| Start the timer. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const gazebo::common::Timer &t) |
| stream operator friendly | |
A timer class, used to time things in real world walltime.
| gazebo::common::Timer::Timer | ( | ) |
Constructor.
|
virtual |
Destructor.
| Time gazebo::common::Timer::GetElapsed | ( | ) | const |
Get the elapsed time.
| void gazebo::common::Timer::Start | ( | ) |
Start the timer.
Referenced by gazebo::common::DiagnosticTimer::DiagnosticTimer().
|
friend |
stream operator friendly