PI_Malloc.h File Reference

#include "ace/ACE_export.h"
#include "ace/Malloc.h"
#include "ace/Based_Pointer_T.h"
#include "ace/PI_Malloc.inl"

Include dependency graph for PI_Malloc.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  ACE_PI_Control_Block
 This information is stored in memory allocated by the Memory_Pool. More...

class  ACE_PI_Control_Block::ACE_Malloc_Header
 This is the control block header. It's used by ACE_Malloc to keep track of each chunk of data when it's in the free list or in use. More...

class  ACE_PI_Control_Block::ACE_Name_Node
 This class supports "named memory regions" within ACE_Malloc. More...


Defines

#define ACE_PI_MALLOC_PADDING_SIZE   ACE_MALLOC_ROUNDUP (ACE_MALLOC_HEADER_SIZE + sizeof (MALLOC_HEADER_PTR) + sizeof (size_t), ACE_MALLOC_ALIGN) - (sizeof (MALLOC_HEADER_PTR) + sizeof (size_t))
#define ACE_PI_CONTROL_BLOCK_SIZE
#define ACE_PI_CONTROL_BLOCK_ALIGN_BYTES   ACE_MALLOC_ROUNDUP (ACE_PI_CONTROL_BLOCK_SIZE, ACE_MALLOC_ALIGN) - ACE_PI_CONTROL_BLOCK_SIZE


Detailed Description

PI_Malloc.h,v 4.14 2006/04/19 11:54:16 jwillemsen Exp

Author:
Priyanka Gontla <pgontla@ece.uci.edu>

Based on code that existed in other ACE files.

Definition in file PI_Malloc.h.


Define Documentation

#define ACE_PI_CONTROL_BLOCK_ALIGN_BYTES   ACE_MALLOC_ROUNDUP (ACE_PI_CONTROL_BLOCK_SIZE, ACE_MALLOC_ALIGN) - ACE_PI_CONTROL_BLOCK_SIZE
 

Definition at line 185 of file PI_Malloc.h.

Referenced by ACE_PI_Control_Block::print_alignment_info().

#define ACE_PI_CONTROL_BLOCK_SIZE
 

Value:

((int)(sizeof (NAME_NODE_PTR) \
                                         + sizeof (MALLOC_HEADER_PTR) \
                                         + sizeof (int) \
                                         + MAXNAMELEN))

Definition at line 178 of file PI_Malloc.h.

Referenced by ACE_PI_Control_Block::print_alignment_info().

#define ACE_PI_MALLOC_PADDING_SIZE   ACE_MALLOC_ROUNDUP (ACE_MALLOC_HEADER_SIZE + sizeof (MALLOC_HEADER_PTR) + sizeof (size_t), ACE_MALLOC_ALIGN) - (sizeof (MALLOC_HEADER_PTR) + sizeof (size_t))
 

Definition at line 78 of file PI_Malloc.h.

Referenced by ACE_PI_Control_Block::print_alignment_info().


Generated on Thu Nov 9 11:03:18 2006 for ACE by doxygen 1.3.6