iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages

#include <nrt/Core/Typing/Time.H>

A simple timer class.

tests/test-PointCloud2OpenNI.C, and tests/test-PointCloud2Speed.C.

Definition at line 81 of file Time.H.

Public Member Functions

 Timer ()
 Construct and start timing.
Time const & epoch () const
 Get the absolute time of construction or last reset.
Time const & reset ()
 Reset our internal time stamp to now (zero timed duration) and start timing, return time of reset.
DurationSeconds get () const
 Return duration since last reset, in seconds.
DurationSeconds getreset ()
 Return duration since last reset, in seconds, and reset the timer.

The documentation for this class was generated from the following file: