pcl::ScopeTime Class Reference

Class to measure the time spent in a scope. More...

#include <time.h>

List of all members.

Public Member Functions

 ScopeTime (const char *title)
 ~ScopeTime ()

Private Attributes

timeval start_time_
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 an instance at the beginning of the function.

Definition at line 61 of file time.h.


Constructor & Destructor Documentation

pcl::ScopeTime::ScopeTime ( const char *  title  )  [inline]

Definition at line 52 of file time.hpp.

pcl::ScopeTime::~ScopeTime (  )  [inline]

Definition at line 63 of file time.hpp.


Member Data Documentation

timeval pcl::ScopeTime::start_time_ [private]

Definition at line 71 of file time.h.

std::string pcl::ScopeTime::title_ [private]

Definition at line 67 of file time.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pcl
Author(s): See http://pcl.ros.org/authors for the complete list of authors.
autogenerated on Fri Jan 11 09:57:23 2013