mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 16:52:40 -05:00
Fixed namespace usage
This commit is contained in:
@@ -34,7 +34,7 @@ void Benchmark::start_perf_bench(const xmrig::PerfAlgo pa) {
|
|||||||
Workers::switch_algo(xmrig::Algorithm(pa)); // switch workers to new algo (Algo part)
|
Workers::switch_algo(xmrig::Algorithm(pa)); // switch workers to new algo (Algo part)
|
||||||
|
|
||||||
// prepare test job for benchmark runs
|
// prepare test job for benchmark runs
|
||||||
Job job;
|
xmrig::Job job;
|
||||||
job.setPoolId(-100); // to make sure we can detect benchmark jobs
|
job.setPoolId(-100); // to make sure we can detect benchmark jobs
|
||||||
job.setId(xmrig::Algorithm::perfAlgoName(pa)); // need to set different id so that workers will see job change
|
job.setId(xmrig::Algorithm::perfAlgoName(pa)); // need to set different id so that workers will see job change
|
||||||
const static uint8_t test_input[76] = {
|
const static uint8_t test_input[76] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user