mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 16:33:32 -05:00
Removed cache QoS warning at exit on unsupported CPUs
This commit is contained in:
@@ -204,7 +204,9 @@ static bool wrmsr(const MsrItems& preset, const std::vector<CpuThread>& threads,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cache_qos && !Cpu::info()->hasCatL3()) {
|
if (cache_qos && !Cpu::info()->hasCatL3()) {
|
||||||
|
if (!threads.empty()) {
|
||||||
LOG_WARN(CLEAR "%s" YELLOW_BOLD_S "This CPU doesn't support cat_l3, cache QoS is unavailable", tag);
|
LOG_WARN(CLEAR "%s" YELLOW_BOLD_S "This CPU doesn't support cat_l3, cache QoS is unavailable", tag);
|
||||||
|
}
|
||||||
cache_qos = false;
|
cache_qos = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -303,7 +303,9 @@ static bool wrmsr(const MsrItems &preset, const std::vector<CpuThread>& threads,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cache_qos && !Cpu::info()->hasCatL3()) {
|
if (cache_qos && !Cpu::info()->hasCatL3()) {
|
||||||
|
if (!threads.empty()) {
|
||||||
LOG_WARN(CLEAR "%s" YELLOW_BOLD_S "This CPU doesn't support cat_l3, cache QoS is unavailable", tag);
|
LOG_WARN(CLEAR "%s" YELLOW_BOLD_S "This CPU doesn't support cat_l3, cache QoS is unavailable", tag);
|
||||||
|
}
|
||||||
cache_qos = false;
|
cache_qos = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user