Class to measure the time spent in a scope. More...
#include <time.h>
Public Member Functions | |
ScopeTime (const char *title) | |
~ScopeTime () | |
Private Attributes | |
timeval | start_time_ |
std::string | title_ |
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 61 of file time.h.
timeval pcl::ScopeTime::start_time_ [private] |
std::string pcl::ScopeTime::title_ [private] |