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:
parent
93800e5790
commit
837e7b1a85
1
main.c
1
main.c
@ -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 +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user