Point Cloud Library (PCL)
1.14.1-dev
|
Class to measure the time spent in a scope. More...
#include </__w/1/s/cuda/common/include/pcl/cuda/time_gpu.h>
Public Member Functions | |
ScopeTimeGPU (const char *title) | |
Constructor. More... | |
~ScopeTimeGPU () | |
Destructor. More... | |
void | start () |
Start the timer. More... | |
void | stop () |
Stop the timer. More... | |
void | stop_print () |
Stop and print the timer. More... | |
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.
Definition at line 53 of file time_gpu.h.
|
inline |
|
inline |
|
inline |
|
inline |
Stop the timer.
Definition at line 82 of file time_gpu.h.
Referenced by stop_print(), and ~ScopeTimeGPU().
|
inline |