Fixed no-colors printout

This commit is contained in:
Ben Gräf 2019-01-30 20:51:58 +01:00
parent 61778ab4c2
commit da52ab2702

View file

@ -111,8 +111,9 @@ void MultiWorker::start()
scratchPadMem.hugePages, scratchPadMem.pages, memory, scratchPadMem.realSize > ONE_MB ? "MB" : "KB"); scratchPadMem.hugePages, scratchPadMem.pages, memory, scratchPadMem.realSize > ONE_MB ? "MB" : "KB");
} }
else { else {
LOG_INFO("Starting thread %zu/%zu affined to core: #%d -> huge pages: %zu/%zu scratchpad: %zu.0 MB", LOG_INFO("Starting thread %zu/%zu affined to core: #%d -> huge pages: %zu/%zu scratchpad: %zu.0 %s",
m_id+1, Options::i()->threads(), m_affinedCpu, scratchPadMem.hugePages, scratchPadMem.pages, memory); m_id+1, Options::i()->threads(), m_affinedCpu, scratchPadMem.hugePages, scratchPadMem.pages, memory,
scratchPadMem.realSize > ONE_MB ? "MB" : "KB");
} }
while (Workers::sequence() > 0) { while (Workers::sequence() > 0) {