RandomX: added cache QoS support
False by default. If set to true, all non-mining CPU cores will not have access to L3 cache.
This commit is contained in:
parent
e5a2689052
commit
c83429c55c
10 changed files with 126 additions and 19 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <cstdint>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
|
||||
#include "crypto/common/HugePagesInfo.h"
|
||||
|
@ -41,6 +42,7 @@ namespace xmrig
|
|||
|
||||
class Algorithm;
|
||||
class CpuConfig;
|
||||
class CpuThread;
|
||||
class IRxListener;
|
||||
class Job;
|
||||
class RxConfig;
|
||||
|
@ -62,7 +64,7 @@ public:
|
|||
# endif
|
||||
|
||||
private:
|
||||
static void msrInit(const RxConfig &config);
|
||||
static void 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