SimGrid  3.14.159
Versatile Simulation of Distributed Systems
mm_legacy.c File Reference
#include <stdlib.h>
#include <dlfcn.h>
#include "src/mc/mc_base.h"
#include "mmprivate.h"
#include "src/xbt_modinter.h"
#include "src/internal_config.h"
#include <math.h>
#include "src/mc/mc_protocol.h"

Macros

#define _GNU_SOURCE
 

Functions

int malloc_use_mmalloc (void)
 
xbt_mheap_t mmalloc_get_current_heap (void)
 
xbt_mheap_t mmalloc_set_current_heap (xbt_mheap_t new_heap)
 

Variables

static int __malloc_use_mmalloc
 
xbt_mheap_t __mmalloc_default_mdp = NULL
 
static xbt_mheap_t __mmalloc_current_heap = NULL
 

Macro Definition Documentation

§ _GNU_SOURCE

#define _GNU_SOURCE

Function Documentation

§ malloc_use_mmalloc()

int malloc_use_mmalloc ( void  )

§ mmalloc_get_current_heap()

xbt_mheap_t mmalloc_get_current_heap ( void  )

§ mmalloc_set_current_heap()

xbt_mheap_t mmalloc_set_current_heap ( xbt_mheap_t  new_heap)

Variable Documentation

§ __malloc_use_mmalloc

int __malloc_use_mmalloc
static

§ __mmalloc_default_mdp

xbt_mheap_t __mmalloc_default_mdp = NULL

§ __mmalloc_current_heap

xbt_mheap_t __mmalloc_current_heap = NULL
static