Main MRPT website > C++ reference for MRPT 1.5.3
List of all members | Public Member Functions | Private Attributes
mrpt::utils::CTicTac Class Reference

Detailed Description

This class implements a high-performance stopwatch.

Typical resolution is about 1e-6 seconds.

Note
The class is named after the Spanish equivalent of "Tic-Toc" ;-)

Definition at line 24 of file CTicTac.h.

#include <mrpt/utils/CTicTac.h>

Inheritance diagram for mrpt::utils::CTicTac:
Inheritance graph

Public Member Functions

 CTicTac ()
 Default constructor. Implicitly calls Tic() More...
 
void Tic ()
 Starts the stopwatch. More...
 
double Tac ()
 Stops the stopwatch. More...
 

Private Attributes

unsigned char largeInts [64]
 

Constructor & Destructor Documentation

◆ CTicTac()

mrpt::utils::CTicTac::CTicTac ( )

Default constructor. Implicitly calls Tic()

Member Function Documentation

◆ Tac()

double mrpt::utils::CTicTac::Tac ( )

◆ Tic()

void mrpt::utils::CTicTac::Tic ( )

Member Data Documentation

◆ largeInts

unsigned char mrpt::utils::CTicTac::largeInts[64]
private

Definition at line 31 of file CTicTac.h.




Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Tue Aug 22 01:03:35 UTC 2017