#include <Timer.h>
Inheritance diagram for util::Timer:

In practical use, the maximum resolution is never achieved, but accurate timings are still possible.
Public Methods | |
| void | start () |
| Start the timer. | |
| double | getTime () |
| Get the time elapsed from the last start() call. | |
| void | getTime (int &seconds, long &nanoseconds) |
| Get the time elapsed from the last start() call. | |
|
||||||||||||
|
Get the time elapsed from the last start() call.
|
|
|
Get the time elapsed from the last start() call. Time is measured in seconds. |
|
|
Start the timer. If the timer is already started, the previous start time is lost. |