Handy way for timing an action.
More...
#include <timer.h>
Handy way for timing an action.
- Author
- Adrien Debord
Calls tic() on creation and toc() on destruction
◆ timer_handle()
isae::timer::timer_handle::timer_handle |
( |
std::string |
name | ) |
|
|
inline |
starts the timer
- Parameters
-
◆ ~timer_handle()
isae::timer::timer_handle::~timer_handle |
( |
| ) |
|
|
inline |
◆ toc()
double isae::timer::timer_handle::toc |
( |
| ) |
|
|
inline |
stops the timer
- Returns
- delta time (ms)
The documentation for this class was generated from the following file:
- /home/deos/ce.debeunne/colcon_ws/src/SaDVIO/cpp/include/utilities/timer.h