Public Member Functions
fcl::tools::Profiler::ScopedStart Class Reference

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

#include <hpp/fcl/profile.h>

List of all members.

Public Member Functions

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

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


Constructor & Destructor Documentation

fcl::tools::Profiler::ScopedStart::ScopedStart ( Profiler prof = Profiler::Instance()) [inline]

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

References fcl::tools::Profiler::start().

fcl::tools::Profiler::ScopedStart::~ScopedStart ( void  ) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines