mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-06 23:52:38 -05:00
Merge branch 'beta' into evo
This commit is contained in:
@@ -143,9 +143,9 @@ xmrig::CpuBackend::~CpuBackend()
|
||||
}
|
||||
|
||||
|
||||
std::pair<size_t, size_t> xmrig::CpuBackend::hugePages() const
|
||||
std::pair<unsigned, unsigned> xmrig::CpuBackend::hugePages() const
|
||||
{
|
||||
std::pair<size_t, size_t> pages(0, 0);
|
||||
std::pair<unsigned, unsigned> pages(0, 0);
|
||||
|
||||
# ifdef XMRIG_ALGO_RANDOMX
|
||||
if (d_ptr->algo.family() == Algorithm::RANDOM_X) {
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
CpuBackend(Controller *controller);
|
||||
~CpuBackend() override;
|
||||
|
||||
std::pair<size_t, size_t> hugePages() const;
|
||||
std::pair<unsigned, unsigned> hugePages() const;
|
||||
|
||||
protected:
|
||||
bool isEnabled() const override;
|
||||
|
||||
Reference in New Issue
Block a user