diff options
author | simokawa <simokawa@FreeBSD.org> | 2002-11-09 14:44:49 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2002-11-09 14:44:49 +0000 |
commit | 956acd6b2b40f1c1ae96d275c189d8a0305a4ed3 (patch) | |
tree | 8c82a67b50fe9ba1eaa1d403e807db263bd83648 /benchmarks | |
parent | eefeeac855d756008f8ac4ec5c43028b5e46e3c0 (diff) | |
download | FreeBSD-ports-956acd6b2b40f1c1ae96d275c189d8a0305a4ed3.zip FreeBSD-ports-956acd6b2b40f1c1ae96d275c189d8a0305a4ed3.tar.gz |
Really show kBytes/s like the label says we are.
Diffstat (limited to 'benchmarks')
-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 dba2d98..c538b0a 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); } |