FACT++  1.0
void zofits::InitMemberVariables ( const uint32_t  nt = 0,
const uint32_t  rpt = 0,
const uint64_t  maxUsableMem = 0 
)
inline
Parameters
ntnumber of tiles
rptnumber of rows per tile
maxUsableMemmax amount of RAM to be used by the compression buffers

Definition at line 143 of file zofits.h.

144  {
145  fCheckOffset = 0;
146  fNumQueues = 0;
147 
148  fNumTiles = nt==0 ? 1 : nt;
149  fNumRowsPerTile = rpt;
150 
151  fRealRowWidth = 0;
152  fCatalogOffset = 0;
153  fCatalogSize = 0;
154 
155  fMaxUsableMem = maxUsableMem;
156 #ifdef __EXCEPTIONS
158 #endif
159  fErrno = 0;
160  }
int32_t fNumQueues
Current number of threads that will be used by this object.
Definition: zofits.h:969
uint32_t fNumRowsPerTile
Number of rows per tile.
Definition: zofits.h:980
uint32_t fCatalogSize
Actual catalog size (.size() is slow on large lists)
Definition: zofits.h:978
int32_t fCheckOffset
offset to the data pointer to calculate the checksum
Definition: zofits.h:986
uint64_t fMaxUsableMem
Maximum number of bytes that can be allocated by the memory manager.
Definition: zofits.h:970
void * exception_ptr
Definition: zofits.h:24
off_t fCatalogOffset
Offset of the catalog from the beginning of the file.
Definition: zofits.h:981
int fErrno
propagate errno to main thread
Definition: zofits.h:1011
uint32_t fNumTiles
Number of pre-reserved tiles.
Definition: zofits.h:979
uint32_t fRealRowWidth
Width in bytes of one uncompressed row.
Definition: zofits.h:1006
std::exception_ptr fThreadsException
exception pointer to store exceptions coming from the threads
Definition: zofits.h:1010