mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-16 03:12:45 -05:00
Move "1gb-pages" option to "randomx" object.
This commit is contained in:
@@ -57,14 +57,16 @@ public:
|
||||
const char *modeName() const;
|
||||
uint32_t threads(uint32_t limit = 100) const;
|
||||
|
||||
inline Mode mode() const { return m_mode; }
|
||||
inline bool isOneGbPages() const { return m_oneGbPages; }
|
||||
inline Mode mode() const { return m_mode; }
|
||||
|
||||
private:
|
||||
Mode readMode(const rapidjson::Value &value) const;
|
||||
|
||||
bool m_numa = true;
|
||||
int m_threads = -1;
|
||||
Mode m_mode = AutoMode;
|
||||
bool m_numa = true;
|
||||
bool m_oneGbPages = false;
|
||||
int m_threads = -1;
|
||||
Mode m_mode = AutoMode;
|
||||
|
||||
# ifdef XMRIG_FEATURE_HWLOC
|
||||
std::vector<uint32_t> m_nodeset;
|
||||
|
||||
Reference in New Issue
Block a user