mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Need to run Hashmeter all the time.
and not just if logging/display is enabled
This commit is contained in:
parent
3be662a270
commit
86c8bbe57e
@ -3338,10 +3338,6 @@ static void hashmeter(int thr_id, struct timeval *diff,
|
|||||||
thr_info[thr_id].cgpu->device_last_well = time(NULL);
|
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);
|
secs = (double)diff->tv_sec + ((double)diff->tv_usec / 1000000.0);
|
||||||
|
|
||||||
/* So we can call hashmeter from a non worker thread */
|
/* So we can call hashmeter from a non worker thread */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user