Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

sc_allocator Class Reference

Collaboration diagram for sc_allocator:

Collaboration graph
[legend]
List of all members.

Public Methods

 sc_allocator (int blksz, int cellsz)
 ~sc_allocator ()
void * allocate ()
void release (void *p)
void display_statistics ()

Friends

class sc_mempool

Constructor & Destructor Documentation

sc_allocator::sc_allocator int    blksz,
int    cellsz
 

Definition at line 103 of file sc_mempool.cpp.

sc_allocator::~sc_allocator  
 

Definition at line 116 of file sc_mempool.cpp.


Member Function Documentation

void * sc_allocator::allocate  
 

Definition at line 124 of file sc_mempool.cpp.

References malloc.

Referenced by sc_mempool_int::do_allocate().

void sc_allocator::display_statistics  
 

Definition at line 163 of file sc_mempool.cpp.

Referenced by sc_mempool_int::display_statistics().

void sc_allocator::release void *    p
 

Definition at line 155 of file sc_mempool.cpp.

Referenced by sc_mempool_int::do_release().


Friends And Related Function Documentation

friend class sc_mempool [friend]
 

Definition at line 74 of file sc_mempool.cpp.


The documentation for this class was generated from the following file:
Generated on Fri Jan 14 08:31:06 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18