From e1487b22a82b87c7bb24d06c49a6053a07138642 Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Tue, 8 Dec 1998 04:18:08 +0000 Subject: Import of nttcp This program is an up to date version of the ttcp program. It uses inetd (or simulates its behaviour) to start off the remote side program which will send/receive data. Both sides measure the time and number of bytes transfered. The local side will print the measures. The format of the output can be specified on the commandline. PR: ports/8546 --- benchmarks/nttcp/files/patch-aa | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 benchmarks/nttcp/files/patch-aa (limited to 'benchmarks/nttcp/files/patch-aa') diff --git a/benchmarks/nttcp/files/patch-aa b/benchmarks/nttcp/files/patch-aa new file mode 100644 index 000000000000..0f908806e9b6 --- /dev/null +++ b/benchmarks/nttcp/files/patch-aa @@ -0,0 +1,31 @@ +--- Makefile.old Wed Oct 7 15:12:25 1998 ++++ Makefile Mon Dec 7 23:03:15 1998 +@@ -109,12 +109,12 @@ + #INC= + + ## For FreeBSD +-#ARCH= -DFreeBSD +-#LIB= +-#OPT= -O2 +-#CC= cc +-#DBG= +-#INC= ++ARCH= -DFreeBSD ++LIB= ++OPT= -O2 ++CC= cc ++DBG= ++INC= + + ## For SGI IRIX 5.3, 6.2 (cc or gcc) + #ARCH= +@@ -151,7 +151,8 @@ + VERSION= 1.4 + prefix= /usr/local/dist/DIR/nttcp-$(VERSION) + #prefix= /usr/local +-CFLAGS = $(ARCH) $(DBG) $(DEF) $(INC) $(OPT) -DVERSION=\"$(VERSION)\" ++#CFLAGS = $(ARCH) $(DBG) $(DEF) $(INC) $(OPT) -DVERSION=\"$(VERSION)\" ++CFLAGS = $(ARCH) $(CFLG) -DVERSION=\"$(VERSION)\" + LFLAGS = $(DBG) + + nttcp: nttcp.o support.o -- cgit v1.2.3