diff options
author | steve <steve@FreeBSD.org> | 2000-01-30 05:30:02 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-01-30 05:30:02 +0800 |
commit | 7a6b8aa6d73f0833066061ea1653faad4504ffb6 (patch) | |
tree | 94ff6bb95a7c0c9a8def8db1162a2472b9983d78 /benchmarks | |
parent | 131b3f01085d2918b83f7a1ac173abcfeb35855d (diff) | |
download | freebsd-ports-gnome-7a6b8aa6d73f0833066061ea1653faad4504ffb6.tar.gz freebsd-ports-gnome-7a6b8aa6d73f0833066061ea1653faad4504ffb6.tar.zst freebsd-ports-gnome-7a6b8aa6d73f0833066061ea1653faad4504ffb6.zip |
No need to use a patch when the source is a part of the port.
Diffstat (limited to 'benchmarks')
-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); } |