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:
parent
47d05a7687
commit
f3d72ee689
3
miner.c
3
miner.c
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user