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.8.11 for MRPT 1.3.2 SVN: at Mon May 9 06:50:38 UTC 2016 |