diff options
author | simokawa <simokawa@FreeBSD.org> | 2002-11-09 22:44:49 +0800 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2002-11-09 22:44:49 +0800 |
commit | 956acd6b2b40f1c1ae96d275c189d8a0305a4ed3 (patch) | |
tree | 8c82a67b50fe9ba1eaa1d403e807db263bd83648 | |
parent | eefeeac855d756008f8ac4ec5c43028b5e46e3c0 (diff) | |
download | freebsd-ports-graphics-956acd6b2b40f1c1ae96d275c189d8a0305a4ed3.tar.gz freebsd-ports-graphics-956acd6b2b40f1c1ae96d275c189d8a0305a4ed3.tar.zst freebsd-ports-graphics-956acd6b2b40f1c1ae96d275c189d8a0305a4ed3.zip |
Really show kBytes/s like the label says we are.
-rw-r--r-- | benchmarks/tcpblast/src/tcpblast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/tcpblast/src/tcpblast.c b/benchmarks/tcpblast/src/tcpblast.c index dba2d98d209..c538b0a3c85 100644 --- a/benchmarks/tcpblast/src/tcpblast.c +++ b/benchmarks/tcpblast/src/tcpblast.c @@ -110,7 +110,7 @@ int argc; char **argv; expms = (stops-starts)*1000 + (stopms-startms); printf("\n%d %d-byte blocks in %ld msec.\n", nblocks, BLKSIZE, expms); printf("Throughput = %.1f kbit/s", (double) (nblocks*BLKSIZE) / expms * 8.0); - printf(" = %.1f kByte/s", (double) (nblocks*BLKSIZE) / expms * 1000.0); + printf(" = %.1f kByte/s", (double) (nblocks*BLKSIZE) / expms); printf(" = %.1f MByte/s\n", (double) (nblocks*BLKSIZE) / (double)(expms*1024.0)); return(0); } |