|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include <cstdlib>#include <cstdint>#include <cstddef>#include <stdexcept>#include <string.h>

Go to the source code of this file.
Classes | |
| class | aligned_allocator< T, Alignment > |
| struct | aligned_allocator< T, Alignment >::rebind< U > |
Functions | |
| void | memory_purge () |
| void | memory_configurator () |
| void * | aligned_malloc (size_t size, std::size_t align) |
| void | aligned_free (void *p) |
|
inline |
|
inline |
Alligned malloc, could be done using aligned_alloc
Definition at line 49 of file memoryallocation.h.

| void memory_configurator | ( | ) |
Initialize memory allocator configuration.
Definition at line 101 of file memoryallocation.cpp.

| void memory_purge | ( | ) |
Purge jemalloc arenas to actually return memory to the system. If not using jemalloc, does nothing.
Purge allocations from all arenas to actually release memory back to system
Definition at line 94 of file memoryallocation.cpp.
