mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 00:33:33 -05:00
KawPow WIP
This commit is contained in:
@@ -244,7 +244,7 @@ public:
|
||||
|
||||
void printHashrate(bool details)
|
||||
{
|
||||
char num[8 * 4] = { 0 };
|
||||
char num[16 * 4] = { 0 };
|
||||
double speed[3] = { 0.0 };
|
||||
|
||||
for (auto backend : backends) {
|
||||
@@ -259,10 +259,10 @@ public:
|
||||
}
|
||||
|
||||
LOG_INFO(WHITE_BOLD("speed") " 10s/60s/15m " CYAN_BOLD("%s") CYAN(" %s %s ") CYAN_BOLD("H/s") " max " CYAN_BOLD("%s H/s"),
|
||||
Hashrate::format(speed[0], num, sizeof(num) / 4),
|
||||
Hashrate::format(speed[1], num + 8, sizeof(num) / 4),
|
||||
Hashrate::format(speed[2], num + 8 * 2, sizeof(num) / 4 ),
|
||||
Hashrate::format(maxHashrate[algorithm], num + 8 * 3, sizeof(num) / 4)
|
||||
Hashrate::format(speed[0], num, sizeof(num) / 4),
|
||||
Hashrate::format(speed[1], num + 16, sizeof(num) / 4),
|
||||
Hashrate::format(speed[2], num + 16 * 2, sizeof(num) / 4 ),
|
||||
Hashrate::format(maxHashrate[algorithm], num + 16 * 3, sizeof(num) / 4)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +65,8 @@ R"===(
|
||||
"argon2-impl": null,
|
||||
"astrobwt-max-size": 550,
|
||||
"cn/0": false,
|
||||
"cn-lite/0": false
|
||||
"cn-lite/0": false,
|
||||
"kawpow": false
|
||||
},
|
||||
"opencl": {
|
||||
"enabled": false,
|
||||
|
||||
Reference in New Issue
Block a user