1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-02 00:12:38 -05:00

Added "msr" field for CPU backend.

This commit is contained in:
XMRig
2020-10-25 16:36:37 +07:00
parent 03cd56ed73
commit 4914fefb1f
5 changed files with 38 additions and 16 deletions

View File

@@ -63,8 +63,14 @@ public:
static void setMainLoopBounds(const std::pair<const void*, const void*>& bounds);
# endif
# ifdef XMRIG_FEATURE_MSR
static bool isMSR();
# else
static constexpr bool isMSR() { return false; }
# endif
private:
static void msrInit(const RxConfig &config, const std::vector<CpuThread>& threads);
static bool msrInit(const RxConfig &config, const std::vector<CpuThread>& threads);
static void msrDestroy();
static void setupMainLoopExceptionFrame();
};