1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

#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;