diff options
author | Steve Price <steve@FreeBSD.org> | 2000-04-30 00:23:54 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-04-30 00:23:54 +0000 |
commit | b8c3a4239f187f0650314f531b96fa26098aeca9 (patch) | |
tree | 5741abe58be4f69a76e1ca0719ae2b4b3241ebea /benchmarks/tcpblast | |
parent | 6186a24206ab169de3aa179204d09bdca952c5f1 (diff) | |
download | ports-b8c3a4239f187f0650314f531b96fa26098aeca9.tar.gz ports-b8c3a4239f187f0650314f531b96fa26098aeca9.zip |
Notes
Diffstat (limited to 'benchmarks/tcpblast')
-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 d27dea63bdef..dba2d98d209b 100644 --- a/benchmarks/tcpblast/src/tcpblast.c +++ b/benchmarks/tcpblast/src/tcpblast.c @@ -109,7 +109,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 * 8000.0); + printf("Throughput = %.1f kbit/s", (double) (nblocks*BLKSIZE) / expms * 8.0); printf(" = %.1f kByte/s", (double) (nblocks*BLKSIZE) / expms * 1000.0); printf(" = %.1f MByte/s\n", (double) (nblocks*BLKSIZE) / (double)(expms*1024.0)); return(0); |