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

Remove unused cgpu rolling_local variable.

This commit is contained in:
Con Kolivas 2011-07-06 13:28:29 +10:00
parent 93800e5790
commit 837e7b1a85
2 changed files with 0 additions and 2 deletions

1
main.c
View File

@ -660,7 +660,6 @@ static void hashmeter(int thr_id, struct timeval *diff,
/* Use a rolling average by faking an exponential decay over 5 * log */ /* Use a rolling average by faking an exponential decay over 5 * log */
rolling_local = ((rolling_local * 0.9) + local_mhashes_done) / 1.9; rolling_local = ((rolling_local * 0.9) + local_mhashes_done) / 1.9;
cgpu->rolling_local = ((cgpu->rolling_local * 0.9) + cgpu->local_mhashes) / 1.9;
timeval_subtract(&total_diff, &total_tv_end, &total_tv_start); timeval_subtract(&total_diff, &total_tv_end, &total_tv_start);
total_secs = (double)total_diff.tv_sec + total_secs = (double)total_diff.tv_sec +

View File

@ -119,7 +119,6 @@ struct cgpu_info {
int accepted; int accepted;
int rejected; int rejected;
int hw_errors; int hw_errors;
double rolling_local;
double local_mhashes; double local_mhashes;
double total_mhashes; double total_mhashes;
}; };