Browse Source

Make the utility demonstrated relative to each device when showing per-device work submissions.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
8af98be7b9
  1. 2
      main.c

2
main.c

@ -562,7 +562,7 @@ static bool submit_upstream_work(const struct work *work)
printf("[Rejected] "); 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; efficiency = cgpu->getworks ? cgpu->accepted * 100.0 / cgpu->getworks : 0.0;
if (!opt_quiet) { if (!opt_quiet) {

Loading…
Cancel
Save