Added debug thread log.
This commit is contained in:
parent
93216a51f4
commit
812cd9760f
6 changed files with 47 additions and 13 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue