Gromacs  2019-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
gmx_sel_mempool_t Struct Reference
+ Collaboration diagram for gmx_sel_mempool_t:

Description

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_tblockstack
 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.
 

The documentation for this struct was generated from the following file: