mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Merge branch 'master' into feature-msr2
This commit is contained in:
commit
3730bcd434
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue