mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-16 11:12:47 -05:00
Added debug thread log.
This commit is contained in:
@@ -160,6 +160,14 @@ void Workers::setJob(const Job &job, bool donate)
|
||||
|
||||
void Workers::start(xmrig::Controller *controller)
|
||||
{
|
||||
# ifdef APP_DEBUG
|
||||
LOG_NOTICE("THREADS ------------------------------------------------------------------");
|
||||
for (const xmrig::IThread *thread : controller->config()->threads()) {
|
||||
thread->print();
|
||||
}
|
||||
LOG_NOTICE("--------------------------------------------------------------------------");
|
||||
# endif
|
||||
|
||||
m_controller = controller;
|
||||
|
||||
const std::vector<xmrig::IThread *> &threads = controller->config()->threads();
|
||||
|
||||
Reference in New Issue
Block a user