More cleanup.

This commit is contained in:
XMRig 2019-10-03 07:45:25 +07:00
parent 6d8cf91568
commit d1aadc2e3b
7 changed files with 37 additions and 12 deletions

View file

@ -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;