Simple stopwatch. More...
#include <time.h>

Public Member Functions | |
| double | getTime () |
| Retrieve the time in milliseconds spent since the last call to reset(). | |
| double | getTimeSeconds () |
| Retrieve the time in seconds spent since the last call to reset(). | |
| void | reset () |
| Reset the stopwatch to 0. | |
| StopWatch () | |
| Constructor. | |
| virtual | ~StopWatch () |
| Destructor. | |
Protected Attributes | |
| boost::posix_time::ptime | start_time_ |
Simple stopwatch.
Definition at line 62 of file common/time.h.
| pcl::StopWatch::StopWatch | ( | ) | [inline] |
Constructor.
Definition at line 66 of file common/time.h.
| virtual pcl::StopWatch::~StopWatch | ( | ) | [inline, virtual] |
Destructor.
Definition at line 71 of file common/time.h.
| double pcl::StopWatch::getTime | ( | ) | [inline] |
Retrieve the time in milliseconds spent since the last call to reset().
Definition at line 75 of file common/time.h.
| double pcl::StopWatch::getTimeSeconds | ( | ) | [inline] |
Retrieve the time in seconds spent since the last call to reset().
Definition at line 83 of file common/time.h.
| void pcl::StopWatch::reset | ( | ) | [inline] |
Reset the stopwatch to 0.
Definition at line 90 of file common/time.h.
boost::posix_time::ptime pcl::StopWatch::start_time_ [protected] |
Definition at line 96 of file common/time.h.