Class to measure the time spent in a scope. More...
#include <timeutil.h>
Public Member Functions | |
ScopeTime (const char *title) | |
~ScopeTime () | |
Private Attributes | |
double | _startTime |
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 and instance at the beginning of the function.
Definition at line 93 of file timeutil.h.
g2o::ScopeTime::ScopeTime | ( | const char * | title | ) |
Definition at line 93 of file timeutil.cpp.
Definition at line 95 of file timeutil.cpp.
double g2o::ScopeTime::_startTime [private] |
Definition at line 99 of file timeutil.h.
std::string g2o::ScopeTime::_title [private] |
Definition at line 98 of file timeutil.h.