Loading...
Searching...
No Matches
ompl::tools::Profiler::ScopedBlock Class Reference

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

#include <ompl/tools/debug/Profiler.h>

Public Member Functions

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

Detailed Description

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

Definition at line 81 of file Profiler.h.

Constructor & Destructor Documentation

◆ ScopedBlock()

ompl::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 85 of file Profiler.h.

◆ ~ScopedBlock()

ompl::tools::Profiler::ScopedBlock::~ScopedBlock ( )
inline

Definition at line 90 of file Profiler.h.


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