Revision f12339cf
Added by david.sorber about 3 years ago
| software/read_test/src/URingExecDriver.h | ||
|---|---|---|
|
#ifndef __BLACKLYNX_URING_EXECDRIVER_H__
|
||
|
#define __BLACKLYNX_URING_EXECDRIVER_H__
|
||
|
|
||
|
#include <atomic>
|
||
|
#include <cstdint>
|
||
|
#include <mutex>
|
||
|
#include <string>
|
||
| ... | ... | |
|
|
||
|
#include "Chunk.h"
|
||
|
#include "ExecDriver.h"
|
||
|
#include "Utilities/ProtectedAndSynchronizedQueue.h"
|
||
|
#include "Utilities/ProtectedQueue.h"
|
||
|
|
||
|
|
||
|
namespace BlackLynx
|
||
| ... | ... | |
|
|
||
|
URingExecDriver(
|
||
|
const std::string& inputFile,
|
||
|
uint32_t numReaderThreads);
|
||
|
uint32_t numReaderThreads,
|
||
|
uint32_t chunkSize);
|
||
|
|
||
|
~URingExecDriver() override;
|
||
|
|
||
| ... | ... | |
|
|
||
|
struct io_uring m_ring;
|
||
|
|
||
|
uint32_t m_ioCounter;
|
||
|
std::atomic<uint32_t> m_ioCounter;
|
||
|
|
||
|
};
|
||
|
|
||
Clean up read test code. Add liburing 2.4 as external source.