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

Loading…
Cancel
Save