1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

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

This commit is contained in:
Con Kolivas 2012-02-22 11:50:35 +11:00
parent 083c676378
commit bca9814d41

View File

@ -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 */