MALOC  0.1
Public Attributes | List of all members
sVset Struct Reference

Contains public data members for Vset class. More...

#include <vset.h>

Collaboration diagram for sVset:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

Contains public data members for Vset class.

Author
Michael Holst

Member Data Documentation

◆ blockMax

int sVset::blockMax

num blocks = blockMax=(maxObjects/blockSize)

◆ blockModulo

int sVset::blockModulo

=blockSize-1; for determining which block fast

◆ blockPower

int sVset::blockPower

power of 2 for blocksize (e.g., =10, or =16)

◆ blockSize

int sVset::blockSize

blocksize is 2^(blockPower)

◆ curT

int sVset::curT

the current "T" object in our collection

◆ iMadeVmem

int sVset::iMadeVmem

did i make vmem or was it inherited

◆ maxObjects

int sVset::maxObjects

number of objects to manage (user specified)

◆ nameT

char sVset::nameT[VMAX_ARGLEN]

name of object we are managing

◆ numBlocks

int sVset::numBlocks

total number of allocated blocks

◆ numT

int sVset::numT

the global "T" counter – how many "T"s in list

◆ prtT

int sVset::prtT

for i/o at appropriate block creation/deletion

◆ sizeT

int sVset::sizeT

size of the object in bytes

◆ table

char** sVset::table

list of pointers to blocks of storage we manage

◆ vmem

Vmem* sVset::vmem

the memory manager


The documentation for this struct was generated from the following file: