Added RandomX option "wrmsr" with command line equivalent --randomx-wrmsr=N.

This commit is contained in:
XMRig
2019-12-10 23:57:29 +07:00
parent e1171d3ae7
commit f960d1cf16
14 changed files with 257 additions and 192 deletions

View File

@@ -100,6 +100,7 @@ static const option options[] = {
{ "randomx-mode", 1, nullptr, IConfig::RandomXModeKey },
{ "randomx-1gb-pages", 0, nullptr, IConfig::RandomX1GbPagesKey },
{ "1gb-pages", 0, nullptr, IConfig::RandomX1GbPagesKey },
{ "randomx-wrmsr", 1, nullptr, IConfig::RandomXWrmsrKey },
# endif
# ifdef XMRIG_FEATURE_OPENCL
{ "opencl", 0, nullptr, IConfig::OclKey },