1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-28 06:38:16 -05:00

Added RxNUMAStorage stub.

This commit is contained in:
XMRig
2019-10-04 18:43:03 +07:00
parent 7508411faf
commit 207dae418d
7 changed files with 275 additions and 8 deletions

View File

@@ -30,8 +30,9 @@
#include "base/tools/Object.h"
using hwloc_obj_t = struct hwloc_obj *;
using hwloc_topology_t = struct hwloc_topology *;
using hwloc_const_bitmap_t = const struct hwloc_bitmap_s *;
using hwloc_obj_t = struct hwloc_obj *;
using hwloc_topology_t = struct hwloc_topology *;
namespace xmrig {
@@ -56,6 +57,8 @@ public:
inline const std::vector<uint32_t> &nodeset() const { return m_nodeset; }
inline hwloc_topology_t topology() const { return m_topology; }
bool membind(hwloc_const_bitmap_t nodeset);
protected:
CpuThreads threads(const Algorithm &algorithm, uint32_t limit) const override;