Profiler.h File Reference

Profile the speed of sections of code. More...

#include "Setup.h"
#include <string>
#include <list>
#include "Locks.h"
#include "Types.h"
#include "Timer.h"

Include dependency graph for Profiler.h:

Go to the source code of this file.

Defines

#define ProfileStart(name)   _instProfile._ProfileStart(name,__FILE__)
 Begin profiling a section of code.
#define ProfileStop(name)   _instProfile._ProfileStop(name,__FILE__)
 End profiling a section of code.
#define ProfileScope(name)   CAutoProfileHelper _auto_scope_profiler(name); ProfileStart(name)
 Profile a scope of code.


Detailed Description

Profile the speed of sections of code.

The names of a profile are "not" case sensitive. The results of the profile will be written to the file _profile.txt after the progam ends. Unless //!PROFILE_RELEASE is defined, profiles will only be taken for a debug build and release builds the macros resolve to nothing.


Generated on Sat Aug 9 15:05:06 2008 for MPMA Framework by  doxygen 1.5.6