ROOT-Sim core
3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
|
Handling of multiple buddy systems. More...
#include <mm/buddy/multi.h>
#include <core/core.h>
#include <core/intrinsics.h>
#include <lp/lp.h>
#include <mm/buddy/buddy.h>
#include <mm/buddy/ckpt.h>
#include <errno.h>
Macros | |
#define | is_log_incremental(l) false |
Functions | |
void | model_allocator_lp_init (struct mm_state *self) |
void | model_allocator_lp_fini (struct mm_state *self) |
void * | rs_malloc (size_t req_size) |
void * | rs_calloc (size_t nmemb, size_t size) |
static struct buddy_state * | buddy_find_by_address (struct mm_state *self, const void *ptr) |
void | rs_free (void *ptr) |
void * | rs_realloc (void *ptr, size_t req_size) |
void | __write_mem (const void *ptr, size_t s) |
void | model_allocator_checkpoint_take (struct mm_state *self, array_count_t ref_i) |
void | model_allocator_checkpoint_next_force_full (struct mm_state *self) |
array_count_t | model_allocator_checkpoint_restore (struct mm_state *self, array_count_t ref_i) |
array_count_t | model_allocator_fossil_lp_collect (struct mm_state *self, array_count_t tgt_ref_i) |
Handling of multiple buddy systems.