summaryrefslogtreecommitdiff
path: root/benchmarks/dbs/files
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1998-08-01 23:34:42 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1998-08-01 23:34:42 +0000
commit3f018c354e6f723a528a360b0c74fa7f6ec2cbf8 (patch)
tree1b697b7d062b7c0e831638865e762d9e77e514b5 /benchmarks/dbs/files
parentIf KRB5_HOME is defined, compile ssh with krb5 support. (diff)
A distributed benchmarking system for TCP networks.
Notes
Notes: svn path=/head/; revision=12246
Diffstat (limited to 'benchmarks/dbs/files')
-rw-r--r--benchmarks/dbs/files/patch-aa33
-rw-r--r--benchmarks/dbs/files/patch-ab22
-rw-r--r--benchmarks/dbs/files/patch-ac21
-rw-r--r--benchmarks/dbs/files/patch-ad22
-rw-r--r--benchmarks/dbs/files/patch-ae35
-rw-r--r--benchmarks/dbs/files/patch-af12
6 files changed, 145 insertions, 0 deletions
diff --git a/benchmarks/dbs/files/patch-aa b/benchmarks/dbs/files/patch-aa
new file mode 100644
index 000000000000..4ba0a4562e46
--- /dev/null
+++ b/benchmarks/dbs/files/patch-aa
@@ -0,0 +1,33 @@
+--- src/Makefile-- Sat Aug 1 19:13:01 1998
++++ src/Makefile Sat Aug 1 19:44:49 1998
+@@ -27,10 +27,10 @@
+ # make install
+ #
+
+-BIN =/usr/local/etc
++BIN = ${PREFIX}/bin
+
+ #CC =gcc
+-CFLAGS =-O
++CFLAGS =-O -DHAVE_SYS_PARAM_H
+
+ #CFLAGS =-g # debug
+ #CFLAGS =-g -DDEBUGMODE
+@@ -51,7 +51,7 @@
+ obj::
+ (cd ../obj/$(UNAME); make)
+
+-UNAME = `uname|tr -d '/'``uname -r|tr -d '/'`
++UNAME = `uname|tr -d '/'`
+ dir::
+ -@ mkdir ../obj
+ -@ mkdir ../obj/$(UNAME)
+@@ -74,7 +74,7 @@
+ etags *.c *.h
+
+ install::
+- cp -p dbsc dbsd ../script/dbs_view $(BIN)
++ cp -p dbsc dbsd ../../script/dbs_view $(BIN)
+
+ dbsc: dbsc.o scan.o dbs.o
+ $(CC) $(BSTATIC) dbsc.o scan.o dbs.o -o $@ -lm $(LDFLAGS)
diff --git a/benchmarks/dbs/files/patch-ab b/benchmarks/dbs/files/patch-ab
new file mode 100644
index 000000000000..f3f9b60fdb4d
--- /dev/null
+++ b/benchmarks/dbs/files/patch-ab
@@ -0,0 +1,22 @@
+--- src/dbsc.c-- Mon Jun 8 00:23:35 1998
++++ src/dbsc.c Sat Aug 1 19:29:49 1998
+@@ -51,6 +51,10 @@
+
+ #define DBSC
+
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -69,7 +73,7 @@
+ #include <arpa/inet.h>
+ #include <errno.h>
+
+-#if !defined(bsdi)
++#if (!defined(BSD) || (BSD < 199306))
+ #include <malloc.h>
+ #endif
+
diff --git a/benchmarks/dbs/files/patch-ac b/benchmarks/dbs/files/patch-ac
new file mode 100644
index 000000000000..85458d45b1ec
--- /dev/null
+++ b/benchmarks/dbs/files/patch-ac
@@ -0,0 +1,21 @@
+--- src/dbsd.c-- Mon Jun 8 00:23:26 1998
++++ src/dbsd.c Sat Aug 1 19:29:15 1998
+@@ -51,6 +51,9 @@
+
+ #define DBSD
+
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -80,7 +83,7 @@
+ #include <sys/fcntl.h>
+ #endif
+
+-#if !defined(bsdi)
++#if (!defined(BSD) || (BSD < 199306))
+ #include <malloc.h>
+ #endif
+
diff --git a/benchmarks/dbs/files/patch-ad b/benchmarks/dbs/files/patch-ad
new file mode 100644
index 000000000000..5939f8477776
--- /dev/null
+++ b/benchmarks/dbs/files/patch-ad
@@ -0,0 +1,22 @@
+--- src/scan.c-- Fri Jul 11 00:54:12 1997
++++ src/scan.c Sat Aug 1 19:33:34 1998
+@@ -49,6 +49,9 @@
+ * $Author: yukio-m $
+ *****************************************************************/
+
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include<stdio.h>
+ #include<stdlib.h>
+
+@@ -58,7 +61,8 @@
+ #include <string.h>
+ #endif
+
+-#if !defined(bsdi)
++#if (!defined(BSD) || (BSD < 199306))
++#error BSD
+ #include <malloc.h>
+ #endif
+
diff --git a/benchmarks/dbs/files/patch-ae b/benchmarks/dbs/files/patch-ae
new file mode 100644
index 000000000000..8adccc9b1dd4
--- /dev/null
+++ b/benchmarks/dbs/files/patch-ae
@@ -0,0 +1,35 @@
+--- src/sendrecv.c-- Mon Oct 13 03:27:19 1997
++++ src/sendrecv.c Sat Aug 1 19:37:02 1998
+@@ -70,12 +70,12 @@
+ #define INIT_RECORD() (rdp = rd->d, rd->n=0)
+ #define INIT_RECORD2() (rdp2 = rd2->d, rd2->n=0)
+
+-#define RECORD(NO,SIZE) (gettimeofday(&(rdp->tv), &tzp),\
++#define RECORD(NO,SIZE) (gettimeofday(&(rdp->tv), (struct timezone *)&tzp),\
+ rdp->packet_no = (NO),\
+ rdp->packet_size = (SIZE),\
+ rdp++, rd->n++)
+
+-#define RECORD2(NO,SIZE) (gettimeofday(&(rdp2->tv), &tzp),\
++#define RECORD2(NO,SIZE) (gettimeofday(&(rdp2->tv), (struct timezone *)&tzp),\
+ rdp2->packet_no = (NO),\
+ rdp2->packet_size = (SIZE),\
+ rdp2++, rd2->n++)
+@@ -87,7 +87,7 @@
+ _TP1.tv_usec %= 1000000;\
+ }
+
+-#define GETTIMEOFDAY(_TPP) gettimeofday(&tp, &tzp);\
++#define GETTIMEOFDAY(_TPP) gettimeofday(&tp, (struct timezone *)&tzp);\
+ tp.tv_sec = _TPP.tv_sec - tp.tv_sec;\
+ tp.tv_usec = _TPP.tv_usec - tp.tv_usec;\
+ if (tp.tv_usec < 0) {\
+@@ -108,7 +108,7 @@
+ USLEEP(tp);
+
+ /* before 0.00001s */
+-#define WAIT_BEFORE(_TPP) gettimeofday(&tp, &tzp);\
++#define WAIT_BEFORE(_TPP) gettimeofday(&tp, (struct timezone *) &tzp);\
+ tp.tv_sec = _TPP.tv_sec - tp.tv_sec;\
+ tp.tv_usec = _TPP.tv_usec - tp.tv_usec - 1000;\
+ if (tp.tv_usec < 0) {\
diff --git a/benchmarks/dbs/files/patch-af b/benchmarks/dbs/files/patch-af
new file mode 100644
index 000000000000..ce6f82b61fef
--- /dev/null
+++ b/benchmarks/dbs/files/patch-af
@@ -0,0 +1,12 @@
+--- script/dbs_view-- Fri Jul 11 00:53:57 1997
++++ script/dbs_view Sat Aug 1 20:44:46 1998
+@@ -1,7 +1,7 @@
+-#!/usr/local/bin/perl
+-#!/usr/local/bin/perl -d
+ #!/usr/bin/perl
+ #!/usr/bin/perl -d
++#!/usr/local/bin/perl
++#!/usr/local/bin/perl -d
+
+ ######################################################################
+ # DBS: Distributed Benchmark System