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 2466 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 2467 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 2468 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 2469 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 2470 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 2471 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 2472 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 2473 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 2474 of file memory.c.
Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSreallocBufferMemory_work(), and BMSsetBufferMemoryArraygrowinit().