next up previous contents
Next: Initialization and Configuration Routines Up: Event-driven Simulation Library Previous: Semaphore functions

Memory allocation functions

 

Source files: src/MemSys/pool.c

Header files: incl/MemSys/simsys.h

Many of the objects used in the event-driven simulation library and memory system simulator are allocated using the YACSIM pool functions, which seek to minimize the number of calls to malloc and free. Each structure in the pool must begin with the following two fields:

char *pnxt

char *pfnxt

These fields maintain the pool and the free list for the pool. The pool functions supported in RSIM are:

Users further interested in the YACSIM simulation library should consult the YACSIM reference manual [8].



Vijay Sadananda Pai
Thu Aug 7 14:18:56 CDT 1997