Merge branch 'master' into feature-msr2

This commit is contained in:
XMRig 2021-01-22 16:55:57 +07:00
commit 3730bcd434
No known key found for this signature in database
GPG key ID: 446A53638BE94409
2 changed files with 2 additions and 2 deletions

View file

@ -275,7 +275,7 @@ bool xmrig::Rx::msrInit(const RxConfig &config, const std::vector<CpuThread> &th
const uint64_t ts = Chrono::steadyMSecs(); const uint64_t ts = Chrono::steadyMSecs();
if (wrmsr(preset, threads, config.cacheQoS(), config.rdmsr())) { if (wrmsr(preset, threads, config.cacheQoS(), config.rdmsr())) {
LOG_NOTICE(CLEAR "%s" GREEN_BOLD_S "register values for \"%s\" preset has been set successfully" BLACK_BOLD(" (%" PRIu64 " ms)"), tag, config.msrPresetName(), Chrono::steadyMSecs() - ts); LOG_NOTICE(CLEAR "%s" GREEN_BOLD_S "register values for \"%s\" preset have been set successfully" BLACK_BOLD(" (%" PRIu64 " ms)"), tag, config.msrPresetName(), Chrono::steadyMSecs() - ts);
return true; return true;
} }

View file

@ -123,7 +123,7 @@ static HANDLE wrmsr_install_driver()
hService = OpenServiceW(hManager, SERVICE_NAME, SERVICE_ALL_ACCESS); hService = OpenServiceW(hManager, SERVICE_NAME, SERVICE_ALL_ACCESS);
if (hService) { if (hService) {
LOG_WARN(CLEAR "%s" YELLOW("service ") YELLOW_BOLD("WinRing0_1_2_0") YELLOW(" is already exists"), tag); LOG_WARN(CLEAR "%s" YELLOW("service ") YELLOW_BOLD("WinRing0_1_2_0") YELLOW(" already exists"), tag);
SERVICE_STATUS status; SERVICE_STATUS status;
const auto rc = QueryServiceStatus(hService, &status); const auto rc = QueryServiceStatus(hService, &status);