Added "msr" field for CPU backend.

This commit is contained in:
XMRig 2020-10-25 16:36:37 +07:00
parent 03cd56ed73
commit 4914fefb1f
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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());