#1106 Fixed hugepages field in API.
This commit is contained in:
parent
647cbef43c
commit
7a6790d0f6
3 changed files with 52 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue