Detailed Description
Data Fields | |
void ** | data |
size_t * | size |
unsigned int * | used |
size_t | totalmem |
unsigned int | clean |
size_t | ndata |
size_t | firstfree |
double | arraygrowfac |
unsigned int | arraygrowinit |
Field Documentation
◆ data
void** BMS_BufMem::data |
allocated memory chunks for arbitrary data
Definition at line 2499 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSfreeBufferMemory_work(), BMSprintBufferMemory(), and BMSreallocBufferMemory_work().
◆ size
size_t* BMS_BufMem::size |
sizes of buffers in bytes
Definition at line 2500 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSfreeBufferMemory_work(), BMSgetBufferMemoryUsed(), BMSprintBufferMemory(), and BMSreallocBufferMemory_work().
◆ used
unsigned int* BMS_BufMem::used |
1 iff corresponding buffer is in use
Definition at line 2501 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSfreeBufferMemory_work(), BMSprintBufferMemory(), BMSreallocBufferMemory_work(), dijkstra(), dijkstraPair(), dijkstraPairCutoff(), and dijkstraPairCutoffIgnore().
◆ totalmem
size_t BMS_BufMem::totalmem |
total memory consumption of buffer
Definition at line 2502 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSgetBufferMemoryUsed(), and BMSreallocBufferMemory_work().
◆ clean
unsigned int BMS_BufMem::clean |
1 iff the memory blocks in the buffer should be initialized to zero?
Definition at line 2503 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSfreeBufferMemory_work(), and BMSreallocBufferMemory_work().
◆ ndata
size_t BMS_BufMem::ndata |
number of memory chunks
Definition at line 2504 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSfreeBufferMemory_work(), BMSgetBufferMemoryUsed(), BMSprintBufferMemory(), and BMSreallocBufferMemory_work().
◆ firstfree
size_t BMS_BufMem::firstfree |
first unused memory chunk
Definition at line 2505 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSfreeBufferMemory_work(), BMSgetNUsedBufferMemory(), and BMSreallocBufferMemory_work().
◆ arraygrowfac
double BMS_BufMem::arraygrowfac |
memory growing factor for dynamically allocated arrays
Definition at line 2506 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSreallocBufferMemory_work(), and BMSsetBufferMemoryArraygrowfac().
◆ arraygrowinit
unsigned int BMS_BufMem::arraygrowinit |
initial size of dynamically allocated arrays
Definition at line 2507 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSreallocBufferMemory_work(), and BMSsetBufferMemoryArraygrowinit().