Go to the source code of this file.
Functions | |
static void | meta_init (char **argv) |
static void * | meta_malloc (size_t size) |
static void | meta_free (void *mem) |
static void * | meta_calloc (size_t nelem, size_t size) |
static void | meta_cfree (void *mem) |
static void * | meta_realloc (void *mem, size_t size) |
static void * | meta_memalign (size_t align, size_t size) |
static int | meta_posix_memalign (void **outptr, size_t align, size_t size) |
static void * | meta_aligned_alloc (size_t align, size_t size) |
static void * | meta_valloc (size_t size) |
static void * | meta_pvalloc (size_t size) |
Variables | |
static int | memInit = 0 |
static int | inMemVerbose = 0 |
static void meta_init | ( | char ** | argv | ) | [static] |
Definition at line 17 of file memory-verbose.C.
References CmiMyPe(), CmiMyRank(), CmiNodeAllBarrier(), CmiPrintf(), and memInit.
static void* meta_malloc | ( | size_t | size | ) | [static] |
Definition at line 24 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), CmiPrintStackTrace(), memInit, and mm_malloc.
static void meta_free | ( | void * | mem | ) | [static] |
Definition at line 33 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), CmiPrintStackTrace(), inMemVerbose, memInit, and mm_free.
Definition at line 44 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), memInit, and mm_calloc.
static void meta_cfree | ( | void * | mem | ) | [static] |
Definition at line 52 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), memInit, and mm_cfree.
static void* meta_realloc | ( | void * | mem, | |
size_t | size | |||
) | [static] |
Definition at line 59 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), memInit, and mm_realloc.
Definition at line 67 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), memInit, and mm_memalign.
Definition at line 75 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), memInit, and mm_posix_memalign.
Definition at line 84 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), memInit, and mm_aligned_alloc.
static void* meta_valloc | ( | size_t | size | ) | [static] |
Definition at line 92 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), memInit, and mm_valloc.
static void* meta_pvalloc | ( | size_t | size | ) | [static] |
Definition at line 100 of file memory-verbose.C.
References CmiMyPe(), CmiPrintf(), memInit, and mm_pvalloc.
Definition at line 14 of file memory-verbose.C.
Referenced by meta_aligned_alloc(), meta_calloc(), meta_cfree(), meta_free(), meta_init(), meta_malloc(), meta_memalign(), meta_posix_memalign(), meta_pvalloc(), meta_realloc(), and meta_valloc().
int inMemVerbose = 0 [static] |