
Go to the source code of this file.
Functions | |
| void | initialize_memory_wrapper () |
| void * | initialize_memory_wrapper_calloc (size_t nelem, size_t size) |
| void * | initialize_memory_wrapper_malloc (size_t size) |
| void * | initialize_memory_wrapper_realloc (void *ptr, size_t size) |
| void * | initialize_memory_wrapper_memalign (size_t align, size_t size) |
| void * | initialize_memory_wrapper_valloc (size_t size) |
| void | initialize_memory_wrapper_free (void *ptr) |
| void | initialize_memory_wrapper_cfree (void *ptr) |
| int | CmiMemoryIs (int flag) |
| void | CmiOutOfMemoryInit (void) |
| void | CmiOutOfMemory (int nBytes) |
| static void * | meta_malloc (size_t) |
| static void * | meta_realloc (void *, size_t) |
| static void * | meta_memalign (size_t, size_t) |
| static void | meta_free (void *) |
| static void * | meta_malloc_hook (size_t s, const void *c) |
| static void * | meta_realloc_hook (void *p, size_t s, const void *c) |
| static void * | meta_memalign_hook (size_t s1, size_t s2, const void *c) |
| static void | meta_free_hook (void *p, const void *c) |
| static void | my_init_hook (void) |
| void * | malloc (size_t size) |
| void | free (void *ptr) |
| void * | calloc (size_t nelem, size_t size) |
| void | cfree (void *ptr) |
| void * | realloc (void *ptr, size_t size) |
| void * | memalign (size_t align, size_t size) |
| void * | valloc (size_t size) |
| void | CmiMemoryInit (char **argv) |
| void * | malloc_reentrant (size_t size) |
| void | free_reentrant (void *mem) |
| int | sbrk (int s) |
| static CMK_TYPEDEF_UINT8 | MemusageMstats () |
| static CMK_TYPEDEF_UINT8 | MemusageSbrk () |
| static CMK_TYPEDEF_UINT8 | MemusageProcSelfStat () |
| static CMK_TYPEDEF_UINT8 | MemusageMallinfo () |
| static CMK_TYPEDEF_UINT8 | MemusagePS () |
| static CMK_TYPEDEF_UINT8 | MemusageWindows () |
| static CMK_TYPEDEF_UINT8 | MemusageBGP () |
| CMK_TYPEDEF_UINT8 | CmiMemoryUsage () |
| Return number of bytes currently allocated, if possible. | |
| CMK_TYPEDEF_UINT8 | CmiMaxMemoryUsage () |
| Return number of maximum number of bytes allocated since the last call to CmiResetMaxMemory(), if possible. | |
| void | CmiResetMaxMemory () |
| Reset the mechanism that records the highest seen (high watermark) memory usage. | |
| CMK_TYPEDEF_UINT8 | CmiMinMemoryUsage () |
| void | CmiResetMinMemory () |
| static void | meta_init (char **argv) |
| static void * | meta_calloc (size_t nelem, size_t size) |
| static void | meta_cfree (void *mem) |
| static void * | meta_valloc (size_t size) |
| void * | malloc_nomigrate (size_t size) |
| void | free_nomigrate (void *mem) |
| CmiIsomallocBlockList * | CmiIsomallocBlockListActivate (CmiIsomallocBlockList *l) |
| CmiIsomallocBlockList * | CmiIsomallocBlockListCurrent () |
| void | CmiEnableIsomalloc () |
| void | CmiDisableIsomalloc () |
| void | CmiMemoryMark (void) |
| void | CmiMemoryMarkBlock (void *blk) |
| void | CmiMemorySweep (const char *where) |
| void | CmiMemoryCheck (void) |
| void | memory_preallocate_hack () |
| void | CpdSetInitializeMemory (int v) |
| size_t | cpd_memory_length (void *lenParam) |
| Returns the number of total blocks of memory allocated. | |
| void | cpd_memory_pup (void *itemParam, pup_er p, CpdListItemsRequest *req) |
| void | cpd_memory_leak (void *itemParam, pup_er p, CpdListItemsRequest *req) |
| void | check_memory_leaks (LeakSearchInfo *i) |
| size_t | cpd_memory_getLength (void *lenParam) |
| void | cpd_memory_get (void *itemParam, pup_er p, CpdListItemsRequest *req) |
| void | CpdMemoryMarkClean (char *msg) |
| void | setProtection (char *mem, char *ptr, int len, int flag) |
| void | setMemoryTypeChare (void *ptr) |
| void | setMemoryTypeMessage (void *ptr) |
| void | CpdSystemEnter () |
| void | CpdSystemExit () |
| void | CpdResetMemory () |
| void | CpdCheckMemory () |
| int | get_memory_allocated_user_total () |
| void * | MemoryToSlot (void *ptr) |
| int | Slot_ChareOwner (void *s) |
| int | Slot_AllocatedSize (void *s) |
| int | Slot_StackTrace (void *s, void ***stack) |
| int | setMemoryChareIDFromPtr (void *ptr) |
| void | setMemoryChareID (int id) |
| void | setMemoryOwnedBy (void *ptr, int id) |
| void * | CmiMallocAligned (const size_t size, const unsigned int alignment) |
| void | CmiFreeAligned (void *ptr) |
Variables | |
| void * | memory_stack_top |
| int | cpdInSystem = 1 |
| void *(* | mm_malloc )(size_t) = initialize_memory_wrapper_malloc |
| void *(* | mm_calloc )(size_t, size_t) = initialize_memory_wrapper_calloc |
| void *(* | mm_realloc )(void *, size_t) = initialize_memory_wrapper_realloc |
| void *(* | mm_memalign )(size_t, size_t) = initialize_memory_wrapper_memalign |
| void *(* | mm_valloc )(size_t) = initialize_memory_wrapper_valloc |
| void(* | mm_free )(void *) = initialize_memory_wrapper_free |
| void(* | mm_cfree )(void *) = initialize_memory_wrapper_cfree |
| CMK_TYPEDEF_UINT8 | _memory_allocated = 0 |
| CMK_TYPEDEF_UINT8 | _memory_allocated_max = 0 |
| CMK_TYPEDEF_UINT8 | _memory_allocated_min = 0 |
| static int | rank_holding_CmiMemLock = -1 |
| static int | CmiMemoryIs_flag = 0 |
| static char * | memory_lifeRaft = NULL |
| memory_lifeRaft is a very small heap-allocated region. | |
| int | memory_status_info = 0 |
| int | memory_chare_id = 0 |
| static void *(* | old_malloc_hook )(size_t, const void *) |
| static void *(* | old_realloc_hook )(void *, size_t, const void *) |
| static void *(* | old_memalign_hook )(size_t, size_t, const void *) |
| static void(* | old_free_hook )(void *, const void *) |
| void(* | __malloc_initialize_hook )(void) = my_init_hook |
| static int | MemusageInited = 0 |
| static CMK_TYPEDEF_UINT8 | MemusageInitSbrkval = 0 |
1.5.5