Added "msr" field for CPU backend.

This commit is contained in:
XMRig
2020-10-25 16:36:37 +07:00
parent 3714345bcc
commit 34a9aaf358
5 changed files with 38 additions and 16 deletions

View File

@@ -430,6 +430,7 @@ rapidjson::Value xmrig::CpuBackend::toJSON(rapidjson::Document &doc) const
out.AddMember("profile", profileName().toJSON(), allocator);
out.AddMember("hw-aes", cpu.isHwAES(), allocator);
out.AddMember("priority", cpu.priority(), allocator);
out.AddMember("msr", Rx::isMSR(), allocator);
# ifdef XMRIG_FEATURE_ASM
const Assembly assembly = Cpu::assembly(cpu.assembly());