All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
fcl::tools::Profiler::ScopedStart Class Reference

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. More...

#include <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)

Private Attributes

Profilerprof_
bool wasRunning_

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.

Definition at line 134 of file profile.h.


Constructor & Destructor Documentation

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

Definition at line 139 of file profile.h.

Definition at line 145 of file profile.h.


Member Data Documentation

Definition at line 153 of file profile.h.

Definition at line 154 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