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. | |
~ScopedBlock (void) |
This instance will call Profiler::begin() when constructed and Profiler::end() when it goes out of scope.
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.
References fcl::tools::Profiler::begin().
fcl::tools::Profiler::ScopedBlock::~ScopedBlock | ( | void | ) | [inline] |
References fcl::tools::Profiler::end().