1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-09 16:52:40 -05:00

Remove benchmark size from Job class.

This commit is contained in:
XMRig
2020-11-17 05:28:42 +07:00
parent d8f9501ac8
commit e2ea11ffeb
9 changed files with 25 additions and 32 deletions

View File

@@ -27,7 +27,6 @@ namespace xmrig {
class IBackend;
class Job;
class Benchmark
@@ -35,7 +34,7 @@ class Benchmark
public:
XMRIG_DISABLE_COPY_MOVE_DEFAULT(Benchmark)
Benchmark(const Job &job, size_t workers, const IBackend *backend);
Benchmark(size_t workers, const IBackend *backend);
~Benchmark() = default;
bool finish(uint64_t totalHashCount);
@@ -45,7 +44,6 @@ public:
private:
const IBackend *m_backend;
const size_t m_workers;
const uint64_t m_end;
uint64_t m_current = 0;
uint64_t m_startTime = 0;
};