Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2000 21:40:30 +0200 (CEST)
From:      ob@seicom.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18213: tcpblast modification
Message-ID:  <200004251940.VAA19453@bs-tosh.breuninger.org>

next in thread | raw e-mail | index | archive | help

>Number:         18213
>Category:       ports
>Synopsis:       tcpblast modification
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 25 12:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Breuninger
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
>Environment:
>Description:

tcpblast shows

bit/s with label kbit/s

>How-To-Repeat:
>Fix:
	
diff -rNu /usr/ports/benchmarks/tcpblast tcpblast
diff -rNu /usr/ports/benchmarks/tcpblast/patches/patch-01 tcpblast/patches/patch-01
--- /usr/ports/benchmarks/tcpblast/patches/patch-01	Thu Jan  1 01:00:00 1970
+++ tcpblast/patches/patch-01	Tue Apr 25 21:14:51 2000
@@ -0,0 +1,9 @@
+--- tcpblast.c.orig	Tue Apr 25 21:10:12 2000
++++ tcpblast.c	Tue Apr 25 21:14:35 2000
+@@ -110,5 +110,5 @@
+ 	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));

>Release-Note:
>Audit-Trail:
>Unformatted:
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004251940.VAA19453>