Interface of the heap allocation tracker. More...
Public Member Functions | |
bool | CheckAllocations (ICollection< Ptr > ptrs) |
Evaulate all allocations and check for leaks. More... | |
void | Reset () |
Reset the tracker. More... | |
void | TrackAlloc (Ptr ptr) |
Track an allocation. More... | |
void | TrackFree (Ptr ptr) |
Track a deallocation. More... | |
Interface of the heap allocation tracker.
void Quantum.Allocator.IHeapAllocationTracker.Reset | ( | ) |
Reset the tracker.
Implemented in Quantum.Allocator.TracedHeapAllocTracker, and Quantum.Allocator.SimpleHeapAllocTracker.
void Quantum.Allocator.IHeapAllocationTracker.TrackAlloc | ( | Ptr | ptr | ) |
Track an allocation.
ptr | Ptr |
void Quantum.Allocator.IHeapAllocationTracker.TrackFree | ( | Ptr | ptr | ) |
Track a deallocation.
ptr |
bool Quantum.Allocator.IHeapAllocationTracker.CheckAllocations | ( | ICollection< Ptr > | ptrs | ) |
Evaulate all allocations and check for leaks.
ptrs | Ptr collection to check |
true
, if there are no leaks.