mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 13:52:02 +00:00
Use slightly more damping on the decay time function in the never-ending quest to smooth off the hashmeter.
This commit is contained in:
parent
2f71520368
commit
35de9d1e07
@ -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…
x
Reference in New Issue
Block a user