Public Member Functions | Private Attributes
moveit::tools::Profiler::ScopedBlock Class Reference

This instance will call Profiler::begin() when constructed and Profiler::end() when it goes out of scope. More...

#include <profiler.h>

List of all members.

Public Member Functions

 ScopedBlock (const std::string &name, Profiler &prof=Profiler::Instance())
 Start counting time for the block named name of the profiler prof.
 ~ScopedBlock (void)

Private Attributes

std::string name_
Profilerprof_

Detailed Description

This instance will call Profiler::begin() when constructed and Profiler::end() when it goes out of scope.

Definition at line 78 of file profiler.h.


Constructor & Destructor Documentation

moveit::tools::Profiler::ScopedBlock::ScopedBlock ( const std::string &  name,
Profiler prof = Profiler::Instance() 
) [inline]

Start counting time for the block named name of the profiler prof.

Definition at line 82 of file profiler.h.

Definition at line 87 of file profiler.h.


Member Data Documentation

Definition at line 93 of file profiler.h.

Definition at line 94 of file profiler.h.


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


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Mon Jul 24 2017 02:20:45