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

This instance will call Profiler::start() when constructed and Profiler::stop() when it goes out of scope. If the profiler was already started, this block's constructor and destructor take no action. More...

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

Public Member Functions

 ScopedStart (Profiler &prof=Profiler::Instance())
 Take as argument the profiler instance to operate on (prof) More...
 

Detailed Description

This instance will call Profiler::start() when constructed and Profiler::stop() when it goes out of scope. If the profiler was already started, this block's constructor and destructor take no action.

Definition at line 103 of file Profiler.h.

Constructor & Destructor Documentation

◆ ScopedStart()

ompl::tools::Profiler::ScopedStart::ScopedStart ( Profiler prof = Profiler::Instance())
inline

Take as argument the profiler instance to operate on (prof)

Definition at line 107 of file Profiler.h.

◆ ~ScopedStart()

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

Definition at line 113 of file Profiler.h.


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