mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-24 15:20:29 -05:00
Merge fix
This commit is contained in:
@@ -220,9 +220,9 @@ void MoBenchmark::onJobResult(const JobResult& result) {
|
|||||||
if (!hr) continue;
|
if (!hr) continue;
|
||||||
auto hr_pair = hr->calc(Hashrate::ShortInterval);
|
auto hr_pair = hr->calc(Hashrate::ShortInterval);
|
||||||
if (hr_pair.first) t[0] += hr_pair.second;
|
if (hr_pair.first) t[0] += hr_pair.second;
|
||||||
hr_pair = hr->calc(Hashrate::MediumInterval)
|
hr_pair = hr->calc(Hashrate::MediumInterval);
|
||||||
if (hr_pair.first) t[1] += hr_pair.second;
|
if (hr_pair.first) t[1] += hr_pair.second;
|
||||||
hr_pair = hr->calc(Hashrate::LargeInterval)
|
hr_pair = hr->calc(Hashrate::LargeInterval);
|
||||||
if (hr_pair.first) t[2] += hr_pair.second;
|
if (hr_pair.first) t[2] += hr_pair.second;
|
||||||
}
|
}
|
||||||
double hashrate = 0.0f;
|
double hashrate = 0.0f;
|
||||||
|
|||||||
Reference in New Issue
Block a user