TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches

Detailed Description

Custom allocators that satisfy the nda::mem::Allocator concept and allocator wrappers that check for memory leaks and collect statistics on memory allocations.

Classes

struct  nda::mem::blk_t
 Memory block consisting of a pointer and its size. More...
 
class  nda::mem::bucket< ChunkSize >
 Custom allocator that allocates a bucket of memory on the heap consisting of 64 chunks. More...
 
class  nda::mem::leak_check< A >
 Wrap an allocator to check for memory leaks. More...
 
class  nda::mem::mallocator< AdrSp >
 Custom allocator that uses nda::mem::malloc to allocate memory. More...
 
class  nda::mem::multi_bucket< ChunkSize >
 Custom allocator that uses multiple nda::mem::bucket allocators. More...
 
class  nda::mem::segregator< Threshold, A, B >
 Custom allocator that dispatches memory allocation to one of two allocators based on the size of the memory block to be allocated. More...
 
class  nda::mem::stats< A >
 Wrap an allocator to gather statistics about memory allocation. More...