summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2002-11-09 14:44:49 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2002-11-09 14:44:49 +0000
commit3192fed8a08eb153f02100c76434965fd0f8fd76 (patch)
treefd686030b2f9013944e16809958e6a5d397e6030 /benchmarks
parentAdd ruby robjectteam, which enables the ObjectTeams paradigm to the (diff)
Really show kBytes/s like the label says we are.
Notes
Notes: svn path=/head/; revision=69790
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/tcpblast/src/tcpblast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/tcpblast/src/tcpblast.c b/benchmarks/tcpblast/src/tcpblast.c
index dba2d98d209b..c538b0a3c852 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);
}