Don't print lots of digits after the decimal point in the amount of read data.

This commit is contained in:
David Given
2021-11-27 23:38:25 +01:00
parent b7ee513dfd
commit 6247d3c5e6

View File

@@ -27,7 +27,7 @@ static std::shared_ptr<Fluxmap> readFluxmap(FluxSource& fluxsource, unsigned cyl
std::cout << fmt::format("{0:>3}.{1}: ", cylinder, head) << std::flush;
std::shared_ptr<Fluxmap> fluxmap = fluxsource.readFlux(cylinder, head);
std::cout << fmt::format(
"{0} ms in {1} bytes\n",
"{0:.0} ms in {1} bytes\n",
fluxmap->duration()/1e6,
fluxmap->bytes());
if (outputFluxSink)