mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Removed cache QoS warning at exit on unsupported CPUs
This commit is contained in:
parent
72c385c870
commit
1bf159d1e8
2 changed files with 6 additions and 2 deletions
|
@ -204,7 +204,9 @@ static bool wrmsr(const MsrItems& preset, const std::vector<CpuThread>& threads,
|
|||
}
|
||||
|
||||
if (cache_qos && !Cpu::info()->hasCatL3()) {
|
||||
LOG_WARN(CLEAR "%s" YELLOW_BOLD_S "This CPU doesn't support cat_l3, cache QoS is unavailable", tag);
|
||||
if (!threads.empty()) {
|
||||
LOG_WARN(CLEAR "%s" YELLOW_BOLD_S "This CPU doesn't support cat_l3, cache QoS is unavailable", tag);
|
||||
}
|
||||
cache_qos = false;
|
||||
}
|
||||
|
||||
|
|
|
@ -303,7 +303,9 @@ static bool wrmsr(const MsrItems &preset, const std::vector<CpuThread>& threads,
|
|||
}
|
||||
|
||||
if (cache_qos && !Cpu::info()->hasCatL3()) {
|
||||
LOG_WARN(CLEAR "%s" YELLOW_BOLD_S "This CPU doesn't support cat_l3, cache QoS is unavailable", tag);
|
||||
if (!threads.empty()) {
|
||||
LOG_WARN(CLEAR "%s" YELLOW_BOLD_S "This CPU doesn't support cat_l3, cache QoS is unavailable", tag);
|
||||
}
|
||||
cache_qos = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue