More cleanup.
This commit is contained in:
parent
6d8cf91568
commit
d1aadc2e3b
7 changed files with 37 additions and 12 deletions
|
@ -38,8 +38,13 @@ public:
|
|||
bool read(const rapidjson::Value &value);
|
||||
rapidjson::Value toJSON(rapidjson::Document &doc) const;
|
||||
|
||||
inline bool isNUMA() const { return m_numa; }
|
||||
inline int threads() const { return m_threads; }
|
||||
# ifdef XMRIG_FEATURE_HWLOC
|
||||
bool isNUMA() const;
|
||||
# else
|
||||
inline constexpr bool isNUMA() const { return false; }
|
||||
# endif
|
||||
|
||||
uint32_t threads() const;
|
||||
|
||||
private:
|
||||
bool m_numa = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue