Browse Source

Use slightly more damping on the decay time function in the never-ending quest to smooth off the hashmeter.

nfactor-troky
ckolivas 13 years ago
parent
commit
35de9d1e07
  1. 4
      cgminer.c

4
cgminer.c

@ -1141,9 +1141,9 @@ void decay_time(double *f, double fadd)
} }
if (ratio > 0.95) if (ratio > 0.95)
*f = (fadd * 0.1 + *f) / 1.1; *f = (fadd * 0.05 + *f) / 1.05;
else else
*f = (fadd + *f * 0.1) / 1.1; *f = (fadd + *f * 0.05) / 1.05;
} }
static int requests_staged(void) static int requests_staged(void)

Loading…
Cancel
Save