Revision f12339cf
Added by david.sorber about 3 years ago
| software/read_test/src/ExecDriver.cc | ||
|---|---|---|
|
#include "ExecDriver.h"
|
||
|
#include "Utilities/ChunkConstants.h"
|
||
|
#include "Utilities/FileUtils.h"
|
||
|
#include "Utilities/SearchLynxConfiguration.h"
|
||
|
#include "Utilities/BufferAllocator.h"
|
||
|
|
||
|
|
||
|
BlackLynx::SearchLynx::ExecDriver::ExecDriver(
|
||
|
const std::string& inputFile,
|
||
|
uint32_t numReaderThreads)
|
||
|
uint32_t numReaderThreads,
|
||
|
uint32_t chunkSize)
|
||
|
: r_inputFile(inputFile),
|
||
|
m_numReaderThreads(numReaderThreads),
|
||
|
DEFAULT_CHUNK_SIZE(SearchLynxConfiguration::getInstance()->getChunkSizeInKb() * 1024),
|
||
|
DEFAULT_CHUNK_SIZE(chunkSize * 1024),
|
||
|
EXTRA_BYTES_TO_READ(RAW_TEXT_EXTRA_BYTES)
|
||
|
{
|
||
|
}
|
||
Clean up read test code. Add liburing 2.4 as external source.