mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Reset times after all mining threads are started to make estimating hashrates easier at startup.
This commit is contained in:
parent
083c676378
commit
bca9814d41
@ -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…
Reference in New Issue
Block a user