1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-23 06:52:33 -05:00

Merge pull request #2778 from SChernykh/dev

Fixed "READY threads X/X" display after algo switching
This commit is contained in:
xmrig
2021-12-03 15:02:58 +07:00
committed by GitHub

View File

@@ -76,12 +76,13 @@ public:
{ {
m_workersMemory.clear(); m_workersMemory.clear();
m_hugePages.reset(); m_hugePages.reset();
m_memory = memory; m_memory = memory;
m_started = 0; m_started = 0;
m_errors = 0; m_totalStarted = 0;
m_threads = threads.size(); m_errors = 0;
m_ways = 0; m_threads = threads.size();
m_ts = Chrono::steadyMSecs(); m_ways = 0;
m_ts = Chrono::steadyMSecs();
} }
inline bool started(IWorker *worker, bool ready) inline bool started(IWorker *worker, bool ready)