All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 memory structures
Definition at line 32 of file mem.c. References BMSallocMemory, BMScreateBlockMemory, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPcreate().
frees block memory structures
Definition at line 50 of file mem.c. References BMSdestroyBlockMemory, BMSfreeMemory, NULL, and SCIP_OKAY. Referenced by SCIPfree().
returns the total number of bytes used in block memory
Definition at line 65 of file mem.c. References BMSgetBlockMemoryUsed, NULL, SCIP_Mem::probmem, and SCIP_Mem::setmem. Referenced by SCIPgetMemUsed(), and SCIPstatUpdateMemsaveMode(). |