Commit 86c8bbe57e71981bfcedc04f4f58fdaf614ba265

Paul Sheppard 2012-06-29T17:19:28

Need to run Hashmeter all the time. and not just if logging/display is enabled

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/cgminer.c b/cgminer.c
index d9e6cd0..0e8e221 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -3338,10 +3338,6 @@ static void hashmeter(int thr_id, struct timeval *diff,
 		thr_info[thr_id].cgpu->device_last_well = time(NULL);
 	}
 
-	/* Don't bother calculating anything if we're not displaying it */
-	if (opt_realquiet || !opt_log_interval)
-		return;
-
 	secs = (double)diff->tv_sec + ((double)diff->tv_usec / 1000000.0);
 
 	/* So we can call hashmeter from a non worker thread */