mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-03 17:40:13 +00:00
Fix CPU info colors.
This commit is contained in:
parent
82bbef614e
commit
3f4886bb86
1 changed files with 3 additions and 3 deletions
|
@ -72,9 +72,9 @@ static void print_cpu(xmrig::Config *)
|
||||||
"CPU",
|
"CPU",
|
||||||
Cpu::info()->brand(),
|
Cpu::info()->brand(),
|
||||||
Cpu::info()->sockets(),
|
Cpu::info()->sockets(),
|
||||||
Cpu::info()->isX64() ? GREEN_BOLD_S : RED_BOLD("-"),
|
Cpu::info()->isX64() ? GREEN_BOLD_S : RED_BOLD_S "-",
|
||||||
Cpu::info()->hasAES() ? GREEN_BOLD_S : RED_BOLD("-"),
|
Cpu::info()->hasAES() ? GREEN_BOLD_S : RED_BOLD_S "-",
|
||||||
Cpu::info()->hasAVX2() ? GREEN_BOLD_S : RED_BOLD("-")
|
Cpu::info()->hasAVX2() ? GREEN_BOLD_S : RED_BOLD_S "-"
|
||||||
);
|
);
|
||||||
# ifndef XMRIG_NO_LIBCPUID
|
# ifndef XMRIG_NO_LIBCPUID
|
||||||
Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s%.1f MB/%.1f MB"), "CPU L2/L3", Cpu::info()->L2() / 1024.0, Cpu::info()->L3() / 1024.0);
|
Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s%.1f MB/%.1f MB"), "CPU L2/L3", Cpu::info()->L2() / 1024.0, Cpu::info()->L3() / 1024.0);
|
||||||
|
|
Loading…
Reference in a new issue