|
RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
|
#include <UTimer.h>
Public Member Functions | |
| void | start () |
| void | stop () |
| double | elapsed () |
| double | getElapsedTime () |
| double | restart () |
| double | ticks () |
Static Public Member Functions | |
| static double | now () |
This class is used to time some codes (in seconds). On Unix, the resolution is up to microseconds (see gettimeofday()). On Windows, the performance counter is used (see QueryPerformanceCounter() and QueryPerformanceFrequency()). Example:
|
static |
This method is used to get the time of the system right now.
| void UTimer::start | ( | ) |
This method starts the timer.
| void UTimer::stop | ( | ) |
This method stops the timer.
|
inline |
|
inline |