75 if ( nEntrySize * (1 << 10) < (1<<16) )
109 printf(
"Fixed memory manager: Entry = %5d. Chunk = %5d. Chunks used = %5d.\n",
111 printf(
" Entries used = %8d. Entries peak = %8d. Memory used = %8d. Memory alloc = %8d.\n",
114 for ( i = 0; i < p->
nChunks; i++ )
155 *((
char **)pTemp) = NULL;
208 for ( i = 1; i < p->
nChunks; i++ )
219 *((
char **)pTemp) = NULL;
void Fraig_MemFixedRestart(Fraig_MemFixed_t *p)
int Fraig_MemFixedReadMemUsage(Fraig_MemFixed_t *p)
#define ABC_REALLOC(type, obj, num)
char * Fraig_MemFixedEntryFetch(Fraig_MemFixed_t *p)
#define ABC_ALLOC(type, num)
void Fraig_MemFixedStop(Fraig_MemFixed_t *p, int fVerbose)
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_START
void Fraig_MemFixedEntryRecycle(Fraig_MemFixed_t *p, char *pEntry)
Fraig_MemFixed_t * Fraig_MemFixedStart(int nEntrySize)
FUNCTION DEFINITIONS ///.