Go to the source code of this file.
Namespaces | |
namespace | MPMA |
Classes | |
class | MPMA::InitAndShutdown |
You MUST declare this (and only 1 of it) at the start of the scope in which you want the framework to be used. It will handle all setup and cleanup required. Most likely you want to do this at the start of main(). More... | |
Defines | |
#define | PROFILE_RELEASE |
If defined, allows profiling of release builds. | |
#define | SAVE_ALLOC_CALL_STACK |
If defined, memory tracking operations will be performed in release builds. | |
#define | DEBUG_CALLSTACK_ENABLED |
If defined, information about freed memory will be saved for later checks. This essentially creates a leak since old information is never freed. | |
#define | DEBUGROUTER_ENABLED |
Toggle this off to disable all output to the reporter system. | |
#define | DEBUGROUTER_BUFFER_SIZE (8*1024) |
The amount of data a reporter can buffer before having to wait on its worker thread to catch up. | |
#define | WIN32_ALLOW_STACK_WALK |
Allows references to StackWalk64 and symbol functions on windows, which require the dbghelp library. See http://msdn2.microsoft.com/en-us/library/ms679294.aspx for details. |
Window system and OpenGL setup.
#define DEBUG_CALLSTACK_ENABLED |
If defined, information about freed memory will be saved for later checks. This essentially creates a leak since old information is never freed.
Toggle this to enable/disable retrieving the call stack (not a cheap operation)
#define SAVE_ALLOC_CALL_STACK |
If defined, memory tracking operations will be performed in release builds.
If defined, the call stack will be saved for every allocation (big perf hit)