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

Increase the speed of hashrate adaptation.

This commit is contained in:
Con Kolivas 2012-02-24 13:34:00 +11:00
parent edb070c833
commit dbb04a6922

View File

@ -1111,7 +1111,7 @@ void decay_time(double *f, double fadd)
ratio = 1 / ratio;
}
if (ratio > 0.9)
if (ratio > 0.95)
*f = (fadd * 0.1 + *f) / 1.1;
else
*f = (fadd + *f * 0.1) / 1.1;