1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00

Need to run Hashmeter all the time.

and not just if logging/display is enabled
This commit is contained in:
Paul Sheppard 2012-06-29 17:19:28 -07:00
parent 3be662a270
commit 86c8bbe57e

View File

@ -3338,10 +3338,6 @@ static void hashmeter(int thr_id, struct timeval *diff,
thr_info[thr_id].cgpu->device_last_well = time(NULL);
}
/* Don't bother calculating anything if we're not displaying it */
if (opt_realquiet || !opt_log_interval)
return;
secs = (double)diff->tv_sec + ((double)diff->tv_usec / 1000000.0);
/* So we can call hashmeter from a non worker thread */