Pyrogenesis
13997
|
allocator test rig. More...
#include <allocator_checker.h>
Public Member Functions | |
void | OnAllocate (void *p, size_t size) |
void | OnDeallocate (void *p, size_t size) |
void | OnClear () |
allocator is resetting itself, i.e. More... | |
Private Types | |
typedef std::map< void *, size_t > | Allocs |
Private Attributes | |
Allocs | allocs |
allocator test rig.
call from each allocator operation to sanity-check them. should only be used during debug mode due to serious overhead.
Definition at line 33 of file allocator_checker.h.
|
private |
Definition at line 67 of file allocator_checker.h.
|
inline |
Definition at line 36 of file allocator_checker.h.
|
inline |
allocator is resetting itself, i.e.
wiping out all allocs.
Definition at line 61 of file allocator_checker.h.
|
inline |
Definition at line 43 of file allocator_checker.h.
|
private |
Definition at line 68 of file allocator_checker.h.