Print remaining time with 0.1 second precision
This commit is contained in:
parent
4b053b9a38
commit
920866d8af
@ -62,8 +62,8 @@ emu_stat_report(struct emu_stat *stat, struct player *player, int last)
|
||||
nprocessed, time_elapsed);
|
||||
} else {
|
||||
int tmin = (int) (time_left / 60.0);
|
||||
int tsec = (int) ((time_left / 60.0 - tmin) * 60.0);
|
||||
info("%5.1f%% done at %.0f kev/s (%d min %d s left) \r",
|
||||
double tsec = ((time_left / 60.0 - tmin) * 60.0);
|
||||
info("%5.1f%% done at %.0f kev/s (%d min %.1f s left) \r",
|
||||
progress * 100.0, speed * 1e-3, tmin, tsec);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user