![]() |
The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
Memory Manager main header. More...
#include <mm/mm.h>
Go to the source code of this file.
Functions | |
void * | mm_alloc (size_t mem_size) |
A version of the stdlib malloc() used internally. More... | |
void * | mm_realloc (void *ptr, size_t mem_size) |
A version of the stdlib realloc() used internally. More... | |
void | mm_free (void *ptr) |
A version of the stdlib free() used internally. More... | |
Memory Manager main header.
Memory Manager main header
Definition in file mm.c.
|
inline |
A version of the stdlib malloc() used internally.
mem_size | the size of the requested memory allocation |
In case of memory allocation failure, a log message is taken and the simulation is promptly aborted
Definition at line 26 of file mm.h.
|
inline |
|
inline |
A version of the stdlib realloc() used internally.
ptr | a pointer to the memory area to reallocate |
mem_size | the new size of the memory allocation |
In case of memory allocation failure, a log message is taken and the simulation is promptly aborted