hpp-fcl  1.4.4
HPP fork of FCL -- The Flexible Collision Library
hpp::fcl::tools::Profiler::ScopedBlock Class Reference

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

#include <hpp/fcl/profile.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...
 
 ~ScopedBlock (void)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ScopedBlock()

hpp::fcl::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.

◆ ~ScopedBlock()

hpp::fcl::tools::Profiler::ScopedBlock::~ScopedBlock ( void  )
inline

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