Browse Source

show hashmeter on single line

master
tcatm 14 years ago
parent
commit
f3d72ee689
  1. 3
      miner.c

3
miner.c

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

Loading…
Cancel
Save