From 35de9d1e07c86731f4cf0df4c392b402cf491340 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 29 Mar 2012 09:35:48 +1100 Subject: [PATCH] Use slightly more damping on the decay time function in the never-ending quest to smooth off the hashmeter. --- cgminer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgminer.c b/cgminer.c index 813e677c..ac814dac 100644 --- a/cgminer.c +++ b/cgminer.c @@ -1141,9 +1141,9 @@ void decay_time(double *f, double fadd) } if (ratio > 0.95) - *f = (fadd * 0.1 + *f) / 1.1; + *f = (fadd * 0.05 + *f) / 1.05; else - *f = (fadd + *f * 0.1) / 1.1; + *f = (fadd + *f * 0.05) / 1.05; } static int requests_staged(void)