Browse Source

Need to run Hashmeter all the time.

and not just if logging/display is enabled
nfactor-troky
Paul Sheppard 13 years ago
parent
commit
86c8bbe57e
  1. 4
      cgminer.c

4
cgminer.c

@ -3338,10 +3338,6 @@ static void hashmeter(int thr_id, struct timeval *diff, @@ -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 */

Loading…
Cancel
Save