|
CNum 0.2.1
CPU-optimized ML library for C++
|
A thread local mini "heap" used for thread local memory allocation. More...
#include <Arena.h>
Public Attributes | |
| void * | heap_base |
| void * | heap_ptr |
| size_t | capacity |
| size_t | bytes_available |
| struct linked_list_node * | heap_allocations_head |
| struct linked_list_node * | heap_allocations_current |
A thread local mini "heap" used for thread local memory allocation.
This data structure is used to maximize cache-friendliness by making addressing predictable and by making allocations cache-line-aligned
| size_t arena::bytes_available |
| size_t arena::capacity |
| struct linked_list_node* arena::heap_allocations_current |
| struct linked_list_node* arena::heap_allocations_head |
| void* arena::heap_base |
| void* arena::heap_ptr |