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
|
@ -58,14 +58,17 @@ public:
|
|||
uint32_t threads(uint32_t limit = 100) const;
|
||||
|
||||
inline bool isOneGbPages() const { return m_oneGbPages; }
|
||||
inline int wrmsr() const { return m_wrmsr; }
|
||||
inline Mode mode() const { return m_mode; }
|
||||
|
||||
private:
|
||||
int readMSR(const rapidjson::Value &value) const;
|
||||
Mode readMode(const rapidjson::Value &value) const;
|
||||
|
||||
bool m_numa = true;
|
||||
bool m_oneGbPages = false;
|
||||
int m_threads = -1;
|
||||
int m_wrmsr = 6;
|
||||
Mode m_mode = AutoMode;
|
||||
|
||||
# ifdef XMRIG_FEATURE_HWLOC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue