1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Make threads report in either side of the scanhash function in case we miss reporting in when restarting work.

This commit is contained in:
Con Kolivas 2012-08-02 22:46:13 +10:00
parent caa9600fa3
commit 9410875e2f

View File

@ -4197,7 +4197,9 @@ void *miner_thread(void *userdata)
}
pool_stats->getwork_calls++;
thread_reportin(mythr);
hashes = api->scanhash(mythr, work, work->blk.nonce + max_nonce);
thread_reportin(mythr);
gettimeofday(&getwork_start, NULL);