Return correct hugePages count if NUMA mode used.
This commit is contained in:
parent
828fc065b0
commit
9df9275120
4 changed files with 27 additions and 9 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue