mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-01 01:42:59 -05:00
Use static RandomX seed for benchmark.
This commit is contained in:
@@ -82,7 +82,7 @@ uint64_t xmrig::BenchState::start(size_t threads, const IBackend *backend)
|
||||
});
|
||||
|
||||
const uint64_t ts = Chrono::steadyMSecs();
|
||||
m_listener->onBenchStart(ts, remaining, backend);
|
||||
m_listener->onBenchReady(ts, remaining, backend);
|
||||
|
||||
return ts;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ public:
|
||||
virtual ~IBenchListener() = default;
|
||||
|
||||
virtual void onBenchDone(uint64_t result, uint64_t diff, uint64_t ts) = 0;
|
||||
virtual void onBenchStart(uint64_t ts, uint32_t threads, const IBackend *backend) = 0;
|
||||
virtual void onBenchReady(uint64_t ts, uint32_t threads, const IBackend *backend) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user