|
Point Cloud Library (PCL)
1.4.0
|
Class to measure the time spent in a scope. More...
#include <pcl/common/time.h>


Public Member Functions | |
| ScopeTime (const char *title) | |
| ~ScopeTime () | |
| float | getTime () |
| Retrieve the time in milliseconds spent since the last call to reset(). | |
| float | getTimeSeconds () |
| Retrieve the time in seconds spent since the last call to reset(). | |
| void | reset () |
| Reset the stopwatch to 0. | |
Class to measure the time spent in a scope.
To use this class, e.g. to measure the time spent in a function, just create an instance at the beginning of the function.
| pcl::ScopeTime::ScopeTime | ( | const char * | title | ) | [inline] |
| pcl::ScopeTime::~ScopeTime | ( | ) | [inline] |
| float pcl::StopWatch::getTime | ( | ) | [inline, inherited] |
| float pcl::StopWatch::getTimeSeconds | ( | ) | [inline, inherited] |
| void pcl::StopWatch::reset | ( | ) | [inline, inherited] |
1.7.6.1