![]() |
Fixposition SDK 0.0.0-heads/main-0-g95968b3
Collection of c++ libraries and apps for use with Fixposition products on Linux
|
Helper to measure wallclock time. More...
#include <time.hpp>
Public Member Functions | |
| TicToc () | |
| Constructor. | |
| void | Tic () |
| (Re-)start measurement | |
| Duration | Toc (const bool reset=false) |
| Get elapsed wallclock time. | |
| double | TocMs (const bool reset=false) |
| Get elapsed wallclock time in [ms]. | |
| fpsdk::common::time::TicToc::TicToc | ( | ) |
Constructor.
This also starts the measurements, like Tic().
| Duration fpsdk::common::time::TicToc::Toc | ( | const bool | reset = false | ) |
Get elapsed wallclock time.
| [in] | reset | Reset (restart) measurements |
| double fpsdk::common::time::TicToc::TocMs | ( | const bool | reset = false | ) |
Get elapsed wallclock time in [ms].
| [in] | reset | Reset (restart) measurements |