mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 16:05:05 -05:00
Return correct hugePages count if NUMA mode used.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
|
||||
#include <stdint.h>
|
||||
#include <utility>
|
||||
|
||||
|
||||
namespace xmrig
|
||||
@@ -45,6 +46,7 @@ class Rx
|
||||
public:
|
||||
static bool isReady(const Job &job, uint32_t nodeId);
|
||||
static RxDataset *dataset(uint32_t nodeId);
|
||||
static std::pair<size_t, size_t> hugePages();
|
||||
static void init(const Job &job, int initThreads, bool hugePages, bool numa);
|
||||
static void stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user