33 #include <m4ri/misc.h> 
   42 #define __M4RI_MMC_NBLOCKS 16 
   47 #define __M4RI_MMC_THRESHOLD __M4RI_CPU_L3_CACHE 
   74   size_t total_size = count * size;
 
   76   memset((
char*)ret, 0, total_size);
 
struct _mm_block mmb_t
Tuple of pointer to allocated memory block and it's size. 
 
void m4ri_mmc_free(void *condemned, size_t size)
Free the data pointed to by condemned of the given size. 
Definition: mmc.c:85
 
void * m4ri_mmc_malloc(size_t size)
Allocate size bytes. 
Definition: mmc.c:44
 
void m4ri_mmc_cleanup(void)
Cleans up memory block cache. 
Definition: mmc.c:127
 
static void * m4ri_mmc_calloc(size_t count, size_t size)
Allocate an array of count times size zeroed bytes. 
Definition: mmc.h:73
 
void * data
Definition: mmc.h:61
 
size_t size
Definition: mmc.h:56
 
Tuple of pointer to allocated memory block and it's size. 
Definition: mmc.h:52