1
0
mirror of https://github.com/GOSTSec/gostoclminer synced 2025-01-30 08:24:29 +00:00

show hashmeter on single line

This commit is contained in:
tcatm 2011-02-05 11:00:41 +01:00
parent 47d05a7687
commit f3d72ee689

View File

@ -223,7 +223,8 @@ static void hashmeter(int thr_id, struct timeval *tv_start,
} }
static void print_hashmeter(double hashrate) { static void print_hashmeter(double hashrate) {
printf("HashMeter: %.2f Mhash/sec\n", hashrate / 1000); printf("\r \rHashMeter: %.2f Mhash/sec", hashrate / 1000);
fflush(stdout);
} }