Added "verbose" option.

This commit is contained in:
XMRig 2019-12-17 21:46:11 +07:00
parent 969821296f
commit f8865b1498
No known key found for this signature in database
GPG key ID: 446A53638BE94409
8 changed files with 94 additions and 88 deletions

View file

@ -152,6 +152,8 @@ static bool wrmsr(const MsrItems &preset, bool save)
if (save) {
for (const auto &i : preset) {
auto item = rdmsr(i.reg());
LOG_VERBOSE(CLEAR "%s" CYAN_BOLD("0x%08" PRIx32) CYAN(":0x%016" PRIx64) CYAN_BOLD(" -> 0x%016" PRIx64), tag, i.reg(), item.value(), i.value());
if (item.isValid()) {
savedState.emplace_back(item);
}