Browse Source

Give a buffer of perceived results in avalon during idle periods to allow for results once it becomes active again.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
7740ed839a
  1. 2
      driver-avalon.c

2
driver-avalon.c

@ -1086,6 +1086,8 @@ static int64_t avalon_scanhash(struct thr_info *thr) @@ -1086,6 +1086,8 @@ static int64_t avalon_scanhash(struct thr_info *thr)
avalon->results = miner_count;
if (!info->idle)
avalon->results -= miner_count / 3;
else
avalon->results = miner_count;
info->nonces = 0;
mutex_unlock(&info->lock);

Loading…
Cancel
Save