FCL  0.6.0
Flexible Collision Library
fcl::detail::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 <profiler.h>

Public Member Functions

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

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.


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