|
TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
#include "./address_space.hpp"#include "./malloc.hpp"#include "./memset.hpp"#include "../macros.hpp"#include <algorithm>#include <cstddef>#include <cstdint>#include <cstdlib>#include <memory>#include <vector>#include <utility>#include <iostream>Provides custom allocators for the nda library.
Definition in file allocators.hpp.
Go to the source code of this file.
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... | |