This class implements a high-performance stopwatch.
Typical resolution is about 1e-6 seconds.
#include <mrpt/utils/CTicTac.h>

Public Member Functions | |
| CTicTac () | |
| Default constructor. More... | |
| virtual | ~CTicTac () |
| Destructor. More... | |
| void | Tic () |
| Starts the stopwatch. More... | |
| double | Tac () |
| Stops the stopwatch. More... | |
Private Attributes | |
| unsigned char | largeInts [64] |
| mrpt::utils::CTicTac::CTicTac | ( | ) |
Default constructor.
|
virtual |
Destructor.
| double mrpt::utils::CTicTac::Tac | ( | ) |
Stops the stopwatch.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment(), and mrpt::graphs::CAStarAlgorithm< T >::getOptimalSolution().
| void mrpt::utils::CTicTac::Tic | ( | ) |
Starts the stopwatch.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment(), and mrpt::graphs::CAStarAlgorithm< T >::getOptimalSolution().
| Page generated by Doxygen 1.9.1 for MRPT 1.4.0 SVN: at Fri Sep 3 01:11:30 UTC 2021 |