This class implements a high-performance stopwatch.
Typical resolution is about 1e-6 seconds.
Definition at line 41 of file CTicTac.h.
#include <mrpt/utils/CTicTac.h>
Public Member Functions | |
CTicTac () | |
Default constructor. | |
virtual | ~CTicTac () |
Destructor. | |
CTicTac (const CTicTac &o) | |
CTicTac & | operator= (const CTicTac &o) |
void | Tic () |
Starts the stopwatch. | |
double | Tac () |
Stops the stopwatch. | |
Private Attributes | |
uint8_t | largeInts [64] |
mrpt::utils::CTicTac::CTicTac | ( | ) |
Default constructor.
virtual mrpt::utils::CTicTac::~CTicTac | ( | ) | [virtual] |
Destructor.
mrpt::utils::CTicTac::CTicTac | ( | const CTicTac & | o ) | [inline] |
Definition at line 54 of file CTicTac.h.
References THROW_EXCEPTION.
Definition at line 59 of file CTicTac.h.
References THROW_EXCEPTION.
double mrpt::utils::CTicTac::Tac | ( | ) |
Stops the stopwatch.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment(), and mrpt::math::CAStarAlgorithm< T >::getOptimalSolution().
void mrpt::utils::CTicTac::Tic | ( | ) |
Starts the stopwatch.
Referenced by mrpt::math::CMonteCarlo< T, NUM, OTHER >::doExperiment(), and mrpt::math::CAStarAlgorithm< T >::getOptimalSolution().
uint8_t mrpt::utils::CTicTac::largeInts[64] [private] |
Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |