Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit d58ef27

Browse files
committedSep 5, 2018
Slightly rearrange hash rate and solutions logs for consistency.
1 parent 9e0a08e commit d58ef27

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎ethminer/main.cpp

+7-1
Original file line numberDiff line numberDiff line change
@@ -912,11 +912,17 @@ class MinerCLI
912912
{
913913
auto mp = f.miningProgress();
914914
auto solstats = f.getSolutionStats();
915-
minelog << mp << ' ' << solstats << ' ' << f.farmLaunchedFormatted();
915+
ostringstream ss;
916+
ss << mp << ' ';
917+
if (!(g_logOptions & LOG_PER_GPU))
918+
ss << solstats << ' ';
919+
ss << f.farmLaunchedFormatted();
920+
minelog << ss.str();
916921

917922
if (g_logOptions & LOG_PER_GPU)
918923
{
919924
ostringstream statdetails;
925+
statdetails << "Solutions " << solstats << ' ';
920926
for (size_t i = 0; i < f.getMiners().size(); i++)
921927
{
922928
if (i) statdetails << " ";

0 commit comments

Comments
 (0)