All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
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 <profile.h>

List of all members.

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)

Private Attributes

std::string name_
Profilerprof_

Detailed Description

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

Definition at line 112 of file profile.h.


Constructor & Destructor Documentation

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.

Definition at line 116 of file profile.h.

Definition at line 121 of file profile.h.


Member Data Documentation

Definition at line 128 of file profile.h.

Definition at line 129 of file profile.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:32