mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-26 23:53:02 -05:00
Added classes Rx, RxAlgo, RxCache, RxDataset.
This commit is contained in:
@@ -44,6 +44,8 @@ public:
|
||||
static void freeLargePagesMemory(void *p, size_t size);
|
||||
static void protectExecutableMemory(void *p, size_t size);
|
||||
static void unprotectExecutableMemory(void *p, size_t size);
|
||||
|
||||
static inline constexpr size_t align(size_t pos, size_t align = 2097152) { return ((pos - 1) / align + 1) * align; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user