From 8af98be7b98a69b31fd285747778b1f9e1b592ca Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 10 Jul 2011 01:01:34 +1000 Subject: [PATCH] Make the utility demonstrated relative to each device when showing per-device work submissions. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 43b67ed8..d60f65f7 100644 --- a/main.c +++ b/main.c @@ -562,7 +562,7 @@ static bool submit_upstream_work(const struct work *work) printf("[Rejected] "); } - utility = accepted / ( total_secs ? total_secs : 1 ) * 60; + utility = cgpu->accepted / ( total_secs ? total_secs : 1 ) * 60; efficiency = cgpu->getworks ? cgpu->accepted * 100.0 / cgpu->getworks : 0.0; if (!opt_quiet) {