1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 04:54:26 +00:00

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

This commit is contained in:
Con Kolivas 2011-07-10 01:01:34 +10:00
parent 6464dbfc65
commit 8af98be7b9

2
main.c
View File

@ -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) {