Added RandomX option "wrmsr" with command line equivalent --randomx-wrmsr=N.
This commit is contained in:
parent
3b4b230cab
commit
96cfdda9a1
14 changed files with 257 additions and 192 deletions
|
@ -168,6 +168,9 @@ void xmrig::ConfigTransform::transform(rapidjson::Document &doc, int key, const
|
|||
|
||||
case IConfig::RandomX1GbPagesKey: /* --randomx-1gb-pages */
|
||||
return set(doc, kRandomX, "1gb-pages", true);
|
||||
|
||||
case IConfig::RandomXWrmsrKey: /* --randomx-wrmsr */
|
||||
return set(doc, kRandomX, "wrmsr", static_cast<int64_t>(strtol(arg, nullptr, 10)));
|
||||
# endif
|
||||
|
||||
# ifdef XMRIG_FEATURE_OPENCL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue