Restored "CPU READY" message.
This commit is contained in:
parent
4f49533e98
commit
8ce00adda4
13 changed files with 114 additions and 407 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <utility>
|
||||
|
||||
|
||||
namespace xmrig {
|
||||
|
@ -43,10 +44,14 @@ public:
|
|||
~VirtualMemory();
|
||||
|
||||
inline bool isHugePages() const { return m_flags & HUGEPAGES; }
|
||||
inline size_t hugePages() const { return isHugePages() ? (align(size()) / 2097152) : 0; }
|
||||
inline size_t size() const { return m_size; }
|
||||
inline uint8_t *scratchpad() const { return m_scratchpad; }
|
||||
|
||||
inline std::pair<size_t, size_t> hugePages() const
|
||||
{
|
||||
return std::pair<size_t, size_t>(isHugePages() ? (align(size()) / 2097152) : 0, align(size()) / 2097152);
|
||||
}
|
||||
|
||||
static void *allocateExecutableMemory(size_t size);
|
||||
static void *allocateLargePagesMemory(size_t size);
|
||||
static void flushInstructionCache(void *p, size_t size);
|
||||
|
|
|
@ -113,7 +113,7 @@ xmrig::RxDataset *xmrig::Rx::dataset(const uint8_t *seed, const Algorithm &algor
|
|||
const uint64_t ts = Chrono::steadyMSecs();
|
||||
|
||||
if (d_ptr->dataset->get() != nullptr) {
|
||||
LOG_INFO("%s" MAGENTA_BOLD(" init dataset") " algo " WHITE_BOLD("%s") " threads " WHITE_BOLD("%u") BLACK_BOLD(" seed %s..."),
|
||||
LOG_INFO("%s" MAGENTA_BOLD(" init dataset") " algo " WHITE_BOLD("%s (") CYAN_BOLD("%u") WHITE_BOLD(" threads)") BLACK_BOLD(" seed %s..."),
|
||||
tag,
|
||||
algorithm.shortName(),
|
||||
d_ptr->initThreads,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue