Added class MultiWorker and remove classes SingleWorker and DoubleWorker.
This commit is contained in:
parent
c81401ab2d
commit
4b71b7aa29
13 changed files with 173 additions and 345 deletions
|
@ -54,10 +54,10 @@ public:
|
|||
protected:
|
||||
void storeStats();
|
||||
|
||||
cryptonight_ctx *m_ctx;
|
||||
size_t m_id;
|
||||
size_t m_totalThreads;
|
||||
size_t m_totalWays;
|
||||
const size_t m_id;
|
||||
const size_t m_totalWays;
|
||||
const uint32_t m_offset;
|
||||
cryptonight_ctx *m_ctxLegacy;
|
||||
std::atomic<uint64_t> m_hashCount;
|
||||
std::atomic<uint64_t> m_timestamp;
|
||||
uint64_t m_count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue