FACT++  1.0
zofits::zofits ( uint32_t  numTiles = DefaultMaxNumTiles(),
uint32_t  rowPerTile = DefaultNumRowsPerTile(),
uint32_t  maxUsableMem = DefaultMaxMemory() 
)
inline

constructors

Parameters
numTileshow many data groups should be pre-reserved ?
rowPerTilehow many rows will be grouped together in a single tile
maxUsableMemhow many bytes of memory can be used by the compression buffers

Definition at line 101 of file zofits.h.

103  : ofits(),
104  fMemPool(0, size_t(maxUsableMem)*1000),
105  fWriteToDiskQueue(std::bind(&zofits::WriteBufferToDisk, this, std::placeholders::_1), false)
106  {
107  InitMemberVariables(numTiles, rowPerTile, size_t(maxUsableMem)*1000);
109  }
MemoryManager fMemPool
Actual memory manager, providing memory for the compression buffers.
Definition: zofits.h:968
void InitMemberVariables(const uint32_t nt=0, const uint32_t rpt=0, const uint64_t maxUsableMem=0)
Definition: zofits.h:143
bool WriteBufferToDisk(const WriteTarget &target)
Definition: zofits.h:732
ofits()
Definition: ofits.h:347
bool SetNumThreads(uint32_t num)
Definition: zofits.h:600
static uint32_t DefaultNumThreads(const uint32_t &_n=-2)
static setter for the default number of threads to use. -1 means all available physical cores ...
Definition: zofits.h:92
Queue< WriteTarget, QueueMin< WriteTarget > > fWriteToDiskQueue
Writing queue (=thread)
Definition: zofits.h:974