iLab Neuromorphic Robotics Toolkit
0.1
|
#include <nrt/Core/Memory/details/AllocationHelpers.H>
Allocate memory that is aligned on an N-byte boundary.
Definition at line 318 of file AllocationHelpers.H.
Public Member Functions | |
aligned_alloc (aligned_alloc const &other)=delete | |
void | set_debug (bool do_debug) |
void | set_allow_caching (bool on) |
void | show_stats (int verbosity, const char *pfx, const size_t block_size, const size_t overhead) const |
void * | allocate (size_t user_nbytes) |
void | deallocate (void *user_addr) |
void | release_free_mem () |
Public Attributes | |
src_type | src_alloc |
bool | do_debug_printing |
double | nbytes_allocated |
size_t | nallocations |
size_t | nbytes_current |
size_t | nallocations_current |