GCC Middle and Back End API Reference
alloc_pool_descriptor Struct Reference

Data Fields

const char * name
unsigned long created
unsigned long allocated
unsigned long current
unsigned long peak
int elt_size

Detailed Description

   Store information about each particular alloc_pool.  Note that this
   will underestimate the amount the amount of storage used by a small amount:
   1) The overhead in a pool is not accounted for.
   2) The unallocated elements in a block are not accounted for.  Note
   that this can at worst case be one element smaller that the block
   size for that pool.  

Field Documentation

unsigned long alloc_pool_descriptor::allocated
     Gross allocated storage.  

Referenced by free_alloc_pool(), and pool_free().

unsigned long alloc_pool_descriptor::created
     Number of pools allocated.  

Referenced by pool_free().

unsigned long alloc_pool_descriptor::current
     Amount of currently active storage. 

Referenced by free_alloc_pool(), and pool_free().

int alloc_pool_descriptor::elt_size
     Size of element in the pool.  

Referenced by pool_free().

const char* alloc_pool_descriptor::name

Referenced by pool_free().

unsigned long alloc_pool_descriptor::peak
     Peak amount of storage used.  

Referenced by free_alloc_pool(), and pool_free().


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