mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-04 11:04:26 +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:
parent
caa9600fa3
commit
9410875e2f
@ -4197,7 +4197,9 @@ void *miner_thread(void *userdata)
|
|||||||
}
|
}
|
||||||
pool_stats->getwork_calls++;
|
pool_stats->getwork_calls++;
|
||||||
|
|
||||||
|
thread_reportin(mythr);
|
||||||
hashes = api->scanhash(mythr, work, work->blk.nonce + max_nonce);
|
hashes = api->scanhash(mythr, work, work->blk.nonce + max_nonce);
|
||||||
|
thread_reportin(mythr);
|
||||||
|
|
||||||
gettimeofday(&getwork_start, NULL);
|
gettimeofday(&getwork_start, NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user