hpp-fcl: hpp::fcl::tools::Profiler::ScopedBlock Class Reference

hpp-fcl 1.6.0 HPP fork of FCL -- The Flexible Collision Library

Public Member Functions | List of all members
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:

- include/hpp/fcl/profile.h