This ALib Module implements the concept of "monotonic allocation" by providing the central classes TMonoAllocator and TPoolAllocator.
Please consult ALib Module Memory - Programmer's Manual for further information.
◆ DbgDumpStatistics()
template<typename TAllocator>
Provides allocation statistics for manual performance optimization.
- Availability
- This method is included only in debug-compilations and when module ALib Strings is included in the ALib Build.
In case the code selector symbol ALIB_DEBUG_MEMORY is set, additional information retrieved with TMonoAllocator::DbgGetStatistics is included in the generated string.
- Parameters
-
ma | The allocator to get formatted statistics for. |
- Returns
- Some textual information on the allocation statistics.
◆ GLOBAL_ALLOCATOR
This is the global monotonic allocator singleton instance. It's initial size defaults to \ 128 kilobytes. This can be tweaked by performing a placement-new on this instance before bootstrapping ALib.
- See also
-
◆ GLOBAL_ALLOCATOR_LOCK