#include <vset.h>
Public Attributes | |
Vmem * | vmem |
the memory manager | |
int | iMadeVmem |
did i make vmem or was it inherited | |
int | curT |
the current "T" object in our collection | |
char | nameT [VMAX_ARGLEN] |
name of object we are managing | |
int | sizeT |
size of the object in bytes | |
int | numBlocks |
total number of allocated blocks | |
int | numT |
the global "T" counter -- how many "T"s in list | |
int | prtT |
for i/o at appropriate block creation/deletion | |
int | maxObjects |
number of objects to manage (user specified) | |
int | blockPower |
power of 2 for blocksize (e.g., =10, or =16) | |
int | blockSize |
blocksize is 2^(blockPower) | |
int | blockMax |
num blocks = blockMax=(maxObjects/blockSize) | |
int | blockModulo |
=blockSize-1; for determining which block fast | |
char ** | table |
list of pointers to blocks of storage we manage |
the memory manager
int sVset::iMadeVmem |
did i make vmem or was it inherited
int sVset::curT |
the current "T" object in our collection
char sVset::nameT[VMAX_ARGLEN] |
name of object we are managing
int sVset::sizeT |
size of the object in bytes
int sVset::numBlocks |
total number of allocated blocks
int sVset::numT |
the global "T" counter -- how many "T"s in list
int sVset::prtT |
for i/o at appropriate block creation/deletion
number of objects to manage (user specified)
power of 2 for blocksize (e.g., =10, or =16)
int sVset::blockSize |
blocksize is 2^(blockPower)
int sVset::blockMax |
num blocks = blockMax=(maxObjects/blockSize)
=blockSize-1; for determining which block fast
char** sVset::table |
list of pointers to blocks of storage we manage