Implemented "asm" option.

This commit is contained in:
XMRig
2018-09-24 14:19:26 +03:00
parent d9de80fcea
commit 512cd05284
14 changed files with 275 additions and 34 deletions

View File

@@ -47,7 +47,7 @@ xmrig::AdvancedCpuInfo::AdvancedCpuInfo() :
cpuid_get_raw_data(&raw);
cpu_identify(&raw, &data);
strncpy(m_brand, data.brand_str, sizeof(m_brand) - 1);
strncpy(m_brand, data.brand_str, sizeof(m_brand));
m_sockets = threads() / data.num_logical_cpus;
if (m_sockets == 0) {