diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-30 07:30:57 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-30 07:30:57 +0000 |
commit | 6f2328da5bf31e94d691fa3c68ac0d419096b3dc (patch) | |
tree | 080bc1e874fc30fe30ed5e40aee9ff8d6944908c /performance-tests | |
parent | 628b9336e31f9a9a4f612b2608489582d2e543fb (diff) | |
download | ATCD-6f2328da5bf31e94d691fa3c68ac0d419096b3dc.tar.gz |
ChangeLogTag:Wed Sep 30 02:29:48 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/TTCP/ACE-C++/Makefile | 2 | ||||
-rw-r--r-- | performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/performance-tests/TTCP/ACE-C++/Makefile b/performance-tests/TTCP/ACE-C++/Makefile index fe79334e82b..070a85890d3 100644 --- a/performance-tests/TTCP/ACE-C++/Makefile +++ b/performance-tests/TTCP/ACE-C++/Makefile @@ -35,7 +35,7 @@ include $(ACE_ROOT)/include/makeinclude/rules.local.GNU # Local targets #---------------------------------------------------------------------------- -CCFLAGS = -O2 -DLM_RESULTS +#CCFLAGS = -O2 -DLM_RESULTS #CCFLAGS = -g -DLM_RESULTS #DCCFLAGS = -g diff --git a/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp b/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp index 02b93b2f699..189748a2cbe 100644 --- a/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp +++ b/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp @@ -46,8 +46,9 @@ /* #define BSD43 */ /* #define BSD42 */ /* #define BSD41a */ -#define SYSV /* required on SGI IRIX releases before 3.3 */ +// #define SYSV /* required on SGI IRIX releases before 3.3 */ +#include "ace/OS.h" #include <ace/SOCK_Connector.h> ACE_SOCK_Connector connector_factory; @@ -91,8 +92,6 @@ struct rusage #include <sys/resource.h> #endif -ACE_RCSID(ACE_C++, wrapper_new_ttcp, "$Id$") - struct sockaddr_in sinme; struct sockaddr_un sunme; struct sockaddr_in sinhim; @@ -182,7 +181,6 @@ void err (char *s); void mes (char *s); void pattern (register char *cp, register int cnt); char *outfmt (double b); -static void getrusage (int ignored, register struct rusage *ru); static void gettimeofday (struct timeval *tp, struct timezone *zp); void prep_timer (void); double read_timer (char *str, int len); |