mem.h File Reference Detailed Descriptionmethods for block memory pools and memory buffers Definition in file mem.h. #include "scip/def.h" #include "scip/type_retcode.h" #include "scip/type_mem.h" #include "scip/struct_mem.h" Go to the source code of this file.
Function Documentation
creates block and buffer memory structures
Definition at line 33 of file mem.c. References BMSallocMemory, BMScreateBlockMemory, BMScreateBufferMemory, FALSE, NULL, SCIP_ALLOC, SCIP_DEFAULT_MEM_ARRAYGROWFAC, SCIP_DEFAULT_MEM_ARRAYGROWINIT, SCIP_OKAY, SCIPdebugMessage, and TRUE. Referenced by SCIPcreate().
frees block and buffer memory structures
Definition at line 59 of file mem.c. References BMSdestroyBlockMemory, BMSdestroyBufferMemory, BMSfreeMemory, NULL, and SCIP_OKAY. Referenced by SCIPfree().
returns the total number of bytes used in block and buffer memory
Definition at line 79 of file mem.c. References BMSgetBlockMemoryUsed, BMSgetBufferMemoryUsed(), SCIP_Mem::buffer, SCIP_Mem::cleanbuffer, NULL, SCIP_Mem::probmem, and SCIP_Mem::setmem. Referenced by SCIPgetMemUsed(), and SCIPstatUpdateMemsaveMode(). |