mirror of
https://github.com/xmrig/xmrig.git
synced 2024-10-30 13:07:46 +00:00
Merge pull request #2261 from SChernykh/dev
Show total hashrate if compiled without OpenCL
This commit is contained in:
commit
4a4118bb8e
1 changed files with 0 additions and 2 deletions
|
@ -334,13 +334,11 @@ void xmrig::CpuBackend::printHashrate(bool details)
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_FEATURE_OPENCL
|
|
||||||
Log::print(WHITE_BOLD_S "| - | - | %7s | %7s | %7s |",
|
Log::print(WHITE_BOLD_S "| - | - | %7s | %7s | %7s |",
|
||||||
Hashrate::format(hashrate()->calc(Hashrate::ShortInterval), num, sizeof num / 3),
|
Hashrate::format(hashrate()->calc(Hashrate::ShortInterval), num, sizeof num / 3),
|
||||||
Hashrate::format(hashrate()->calc(Hashrate::MediumInterval), num + 8, sizeof num / 3),
|
Hashrate::format(hashrate()->calc(Hashrate::MediumInterval), num + 8, sizeof num / 3),
|
||||||
Hashrate::format(hashrate()->calc(Hashrate::LargeInterval), num + 8 * 2, sizeof num / 3)
|
Hashrate::format(hashrate()->calc(Hashrate::LargeInterval), num + 8 * 2, sizeof num / 3)
|
||||||
);
|
);
|
||||||
# endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue