class mrpt::system::CTicTac¶
A high-performance stopwatch, with typical resolution of nanoseconds.
This always uses the system MONOTONIC clock, despite the setting in mrpt::Clock.
The class is named after the Spanish equivalent of “Tic-Toc” ;-)
#include <mrpt/system/CTicTac.h> class CTicTac { public: // methods void Tic(); double Tac() const; };