diff options
author | Steve Price <steve@FreeBSD.org> | 2000-01-29 21:30:02 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-01-29 21:30:02 +0000 |
commit | bb8e7d0120640c82b40f0b420bbbeb4bbb8c2789 (patch) | |
tree | eeb95dbe7029bb1f43b824a002f8ff40f4b1d116 /benchmarks/tcpblast | |
parent | cbeb568d253b8b26282e00a0725b8776ae9b5f59 (diff) | |
download | ports-bb8e7d0120640c82b40f0b420bbbeb4bbb8c2789.tar.gz ports-bb8e7d0120640c82b40f0b420bbbeb4bbb8c2789.zip |
Notes
Diffstat (limited to 'benchmarks/tcpblast')
-rw-r--r-- | benchmarks/tcpblast/src/tcpblast.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/tcpblast/src/tcpblast.c b/benchmarks/tcpblast/src/tcpblast.c index 3b8a914e1c4d..d27dea63bdef 100644 --- a/benchmarks/tcpblast/src/tcpblast.c +++ b/benchmarks/tcpblast/src/tcpblast.c @@ -108,9 +108,9 @@ int argc; char **argv; stopms = ti.tv_usec / 1000L; expms = (stops-starts)*1000 + (stopms-startms); - printf("\n%d KB in %ld msec", nblocks, expms); - printf(" = %.1f kbit/s", (double) (nblocks*BLKSIZE) / expms * 8000.0); - printf(" = %.1f kByte/s", (double) (nblocks*BLKSIZE) / expms * 1000); + 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(" = %.1f kByte/s", (double) (nblocks*BLKSIZE) / expms * 1000.0); printf(" = %.1f MByte/s\n", (double) (nblocks*BLKSIZE) / (double)(expms*1024.0)); return(0); } |