From 77f1bf08618e50b6114cab3cde6ae1dc6f7c5691 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Tue, 13 Apr 2021 14:02:29 +0200 Subject: [PATCH] Show total hashrate if compiled without OpenCL --- src/backend/cpu/CpuBackend.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backend/cpu/CpuBackend.cpp b/src/backend/cpu/CpuBackend.cpp index e4e82aa6..6fb74b20 100644 --- a/src/backend/cpu/CpuBackend.cpp +++ b/src/backend/cpu/CpuBackend.cpp @@ -334,13 +334,11 @@ void xmrig::CpuBackend::printHashrate(bool details) i++; } -# ifdef XMRIG_FEATURE_OPENCL Log::print(WHITE_BOLD_S "| - | - | %7s | %7s | %7s |", 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::LargeInterval), num + 8 * 2, sizeof num / 3) ); -# endif }