OpenClovis Logo

Public Attributes | List of all members
ClHeapConfigT Struct Reference

ClHeapConfigT to be fetched by EO and contains the configuration of the heap library. More...

#include <clHeapApi.h>

Public Attributes

ClBoolT lazy
 A pool can grow even after it exhausts its current allocation.
ClHeapModeT mode
 Allocation mode.
ClUint32T numPools
 Number of pools in the pPoolConfig array.
ClPoolConfigT * pPoolConfig
 Array of pool configurations.

Detailed Description

ClHeapConfigT to be fetched by EO and contains the configuration of the heap library.

Member Data Documentation

ClBoolT ClHeapConfigT::lazy

A pool can grow even after it exhausts its current allocation.

This attribute configures a pool in lazy mode for pool expansion. There are two modes for configuring the pool:

  • Lazy mode - The incremented pool does not initialize until an allocation is made from the extended portion of the pool. Lazy mode speeds up the initialization of the application, but shifts the penalty of pool initialization to a later allocation.
  • Normal mode - The incremented pool initializes as soon as it is acquired by the memory management library during the creation of the pool.
ClHeapModeT ClHeapConfigT::mode

Allocation mode.

This can be either CL_HEAP_NATIVE_MODE, CL_HEAP_PREALLOCATED_MODE, or CL_HEAP_CUSTOM_MODE.


Generated on Tue Jan 10 10:29:15 PST 2012 for OpenClovis SDK using Doxygen