Gromacs
2022.2
|
Describes a memory pool.
Public Attributes | |
size_t | currsize |
Number of bytes currently allocated from the pool. | |
size_t | freesize |
Number of bytes free in the pool, or 0 if buffer is NULL. | |
char * | buffer |
Memory area allocated for the pool, or NULL if not yet reserved. | |
char * | freeptr |
Pointer to the first free byte (aligned at ALIGN_STEP) in buffer. | |
int | nblocks |
Number of blocks allocated from the pool. | |
gmx_sel_mempool_block_t * | blockstack |
Array describing the allocated blocks. | |
int | blockstack_nalloc |
Number of elements allocated for the blockstack array. | |
size_t | maxsize |
Maximum number of bytes that have been reserved from the pool simultaneously. | |