Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

chunkallocator Struct Reference
[chunkallocator : A Memory Chunk Allocator.]

#include <chunkallocator.h>

Collaboration diagram for chunkallocator:

Collaboration graph
[legend]

Detailed Description

This is the structure that makes a Chunkallocator. Its fields hold the information for managing the memory.

Definition at line 70 of file chunkallocator.h.

Data Fields

size_t binsize
size_t allocated
size_t deallocated
unsigned char ** nextdealloc
unsigned char * nextfree
chunkblockcblock
chunkblockmemblocks


Field Documentation

size_t chunkallocator::allocated
 

The number of currently allocated bins.

Definition at line 73 of file chunkallocator.h.

size_t chunkallocator::binsize
 

The size of the bins.

Definition at line 72 of file chunkallocator.h.

chunkblock* chunkallocator::cblock
 

Pointer to currently used chunkblock.

Definition at line 78 of file chunkallocator.h.

size_t chunkallocator::deallocated
 

The number of the currently deallocated bins.

Definition at line 74 of file chunkallocator.h.

chunkblock* chunkallocator::memblocks
 

Array of chunkblocks.

Definition at line 79 of file chunkallocator.h.

unsigned char** chunkallocator::nextdealloc
 

Pointer to the first deallocated bin.

Definition at line 76 of file chunkallocator.h.

unsigned char* chunkallocator::nextfree
 

Pointer to the next free bin.

Definition at line 77 of file chunkallocator.h.


The documentation for this struct was generated from the following file:
Generated on Sun Jun 13 20:51:42 2004 for libgnn Gradient Retropropagation Machine Library by doxygen1.2.18