#include "Setup.h"
#include <string>
#include <list>
#include "Locks.h"
#include "Types.h"
#include "Timer.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. |
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.