mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 00:33:33 -05:00
Replaced xmrig::Id by String
This commit is contained in:
@@ -62,7 +62,7 @@ void Benchmark::onJobResult(const xmrig::JobResult& result) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// ignore benchmark results for other perf algo
|
// ignore benchmark results for other perf algo
|
||||||
if (m_pa == xmrig::PA_INVALID || result.jobId != xmrig::Id(xmrig::Algorithm::perfAlgoName(m_pa))) return;
|
if (m_pa == xmrig::PA_INVALID || result.jobId != String(xmrig::Algorithm::perfAlgoName(m_pa))) return;
|
||||||
++ m_hash_count;
|
++ m_hash_count;
|
||||||
const uint64_t now = get_now();
|
const uint64_t now = get_now();
|
||||||
if (!m_time_start) m_time_start = now; // time of measurements start (in ms)
|
if (!m_time_start) m_time_start = now; // time of measurements start (in ms)
|
||||||
|
|||||||
Reference in New Issue
Block a user