Added "msr" field for CPU backend.
This commit is contained in:
parent
03cd56ed73
commit
4914fefb1f
5 changed files with 38 additions and 16 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue