Point Cloud Library (PCL)
1.8.0
|
Simple stopwatch. More...
#include <pcl/common/time.h>
Public Member Functions | |
StopWatch () | |
Constructor. More... | |
virtual | ~StopWatch () |
Destructor. More... | |
double | getTime () |
Retrieve the time in milliseconds spent since the last call to reset(). More... | |
double | getTimeSeconds () |
Retrieve the time in seconds spent since the last call to reset(). More... | |
void | reset () |
Reset the stopwatch to 0. More... | |
Protected Attributes | |
boost::posix_time::ptime | start_time_ |
|
inlinevirtual |
|
inline |
Retrieve the time in milliseconds spent since the last call to reset().
Definition at line 78 of file time.h.
References start_time_.
Referenced by getTimeSeconds(), and pcl::ScopeTime::~ScopeTime().
|
inline |
Retrieve the time in seconds spent since the last call to reset().
Definition at line 86 of file time.h.
References getTime().
Referenced by pcl::registration::FPCSInitialAlignment< PointSource, PointTarget, NormalT, Scalar >::computeTransformation().
|
inline |
|
protected |
Definition at line 99 of file time.h.
Referenced by getTime(), reset(), and pcl::ScopeTime::ScopeTime().