Improved log.
This commit is contained in:
parent
8ce00adda4
commit
630a5dce67
2 changed files with 15 additions and 11 deletions
|
@ -79,15 +79,6 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
|
|||
doc.AddMember("background", isBackground(), allocator);
|
||||
doc.AddMember("colors", Log::colors, allocator);
|
||||
|
||||
// if (affinity() != -1L) {
|
||||
// snprintf(affinity_tmp, sizeof(affinity_tmp) - 1, "0x%" PRIX64, affinity());
|
||||
// doc.AddMember("cpu-affinity", StringRef(affinity_tmp), allocator);
|
||||
// }
|
||||
// else {
|
||||
// doc.AddMember("cpu-affinity", kNullType, allocator);
|
||||
// }
|
||||
|
||||
|
||||
doc.AddMember("cpu", m_cpu.toJSON(doc), allocator);
|
||||
|
||||
doc.AddMember("donate-level", m_pools.donateLevel(), allocator);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue