1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

Debug output per thread hashrate is out by a factor of 1000.

This commit is contained in:
Con Kolivas 2012-07-16 20:25:16 +10:00
parent 471daecb5f
commit 77b7ed4b9e

View File

@ -3423,8 +3423,8 @@ static void hashmeter(int thr_id, struct timeval *diff,
double thread_rolling = 0.0; double thread_rolling = 0.0;
int i; int i;
applog(LOG_DEBUG, "[thread %d: %llu hashes, %.0f khash/sec]", applog(LOG_DEBUG, "[thread %d: %llu hashes, %.1f khash/sec]",
thr_id, hashes_done, hashes_done / secs); thr_id, hashes_done, hashes_done / 1000 / secs);
/* Rolling average for each thread and each device */ /* Rolling average for each thread and each device */
decay_time(&thr->rolling, local_mhashes / secs); decay_time(&thr->rolling, local_mhashes / secs);