Public Member Functions | Private Attributes | List of all members
g2o::ScopeTime Class Reference

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
 

Detailed Description

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 114 of file timeutil.h.

Constructor & Destructor Documentation

g2o::ScopeTime::ScopeTime ( const char *  title)

Definition at line 107 of file timeutil.cpp.

g2o::ScopeTime::~ScopeTime ( )

Definition at line 109 of file timeutil.cpp.

Member Data Documentation

double g2o::ScopeTime::_startTime
private

Definition at line 120 of file timeutil.h.

std::string g2o::ScopeTime::_title
private

Definition at line 119 of file timeutil.h.


The documentation for this class was generated from the following files:


orb_slam2_ros
Author(s):
autogenerated on Wed Apr 21 2021 02:53:06