Browse Source

Reset times after all mining threads are started to make estimating hashrates easier at startup.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
bca9814d41
  1. 3
      cgminer.c

3
cgminer.c

@ -4562,6 +4562,9 @@ int main (int argc, char *argv[])
algo_names[opt_algo]); algo_names[opt_algo]);
#endif #endif
gettimeofday(&total_tv_start, NULL);
gettimeofday(&total_tv_end, NULL);
watchpool_thr_id = mining_threads + 3; watchpool_thr_id = mining_threads + 3;
thr = &thr_info[watchpool_thr_id]; thr = &thr_info[watchpool_thr_id];
/* start watchpool thread */ /* start watchpool thread */

Loading…
Cancel
Save