#1106 Fixed hugepages field in API.

This commit is contained in:
XMRig 2019-08-09 01:50:31 +07:00
parent 647cbef43c
commit 7a6790d0f6
3 changed files with 52 additions and 17 deletions

View file

@ -26,6 +26,9 @@
#define XMRIG_CPUBACKEND_H
#include <utility>
#include "backend/common/interfaces/IBackend.h"
@ -43,6 +46,8 @@ public:
CpuBackend(Controller *controller);
~CpuBackend() override;
std::pair<size_t, size_t> hugePages() const;
protected:
bool isEnabled() const override;
bool isEnabled(const Algorithm &algorithm) const override;