diff options
34 files changed, 108 insertions, 24 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index 05d2695677e..c7d82f38fb1 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,3 +1,41 @@ +Mon Aug 3 17:53:48 1998 Gonzalo Diethelm <gonzo@tango.cs.wustl.edu> + + * performance-tests/Makefile: + * performance-tests/Misc/basic_func.cpp: + * performance-tests/Misc/basic_perf.cpp: + * performance-tests/Misc/childbirth_time.cpp: + * performance-tests/Misc/context_switch_time.cpp: + * performance-tests/Misc/preempt.cpp: + * performance-tests/Misc/test_mutex.cpp: + * performance-tests/Misc/test_naming.cpp: + * performance-tests/Misc/test_singleton.cpp: + * performance-tests/Synch-Benchmarks/Benchmark_Base.cpp: + * performance-tests/Synch-Benchmarks/Benchmark_Performance.cpp: + * performance-tests/Synch-Benchmarks/Options.cpp: + * performance-tests/Synch-Benchmarks/Performance_Test.cpp: + * performance-tests/Synch-Benchmarks/condb_test.cpp: + * performance-tests/Synch-Benchmarks/conds_test.cpp: + * performance-tests/Synch-Benchmarks/context_test.cpp: + * performance-tests/Synch-Benchmarks/memory_test.cpp: + * performance-tests/Synch-Benchmarks/mutex_test.cpp: + * performance-tests/Synch-Benchmarks/pipe_proc_test.cpp: + * performance-tests/Synch-Benchmarks/pipe_thr_test.cpp: + * performance-tests/Synch-Benchmarks/recursive_lock_test.cpp: + * performance-tests/Synch-Benchmarks/rwrd_test.cpp: + * performance-tests/Synch-Benchmarks/rwwr_test.cpp: + * performance-tests/Synch-Benchmarks/sema_test.cpp: + * performance-tests/Synch-Benchmarks/synch_driver.cpp: + * performance-tests/Synch-Benchmarks/sysvsema_test.cpp: + * performance-tests/Synch-Benchmarks/token_test.cpp: + * performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp: + * performance-tests/TTCP/C/new-ttcp.cpp: + * performance-tests/TTCP/ORBeline/ttcp_i.cpp: + * performance-tests/TTCP/Orbix/ttcpC.cpp: + * performance-tests/TTCP/Orbix/ttcpS.cpp: + * performance-tests/TTCP/Orbix/ttcp_i.cpp: + * performance-tests/UDP/udp_test.cpp: + Added ACE_RCSID to these files. + Sun Aug 2 19:43:04 1998 Darrell Brunsch <brunsch@cs.wustl.edu> * tests/Reactor_Performance_Test.cpp: Made a change suggested by diff --git a/performance-tests/Misc/basic_func.cpp b/performance-tests/Misc/basic_func.cpp index 1886a6dfbad..84943e0b22a 100644 --- a/performance-tests/Misc/basic_func.cpp +++ b/performance-tests/Misc/basic_func.cpp @@ -2,6 +2,8 @@ #include "basic_func.h" +ACE_RCSID(Misc, basic_func, "$Id$") + int A, B, C, D, E, F; void diff --git a/performance-tests/Misc/basic_perf.cpp b/performance-tests/Misc/basic_perf.cpp index ca665d72228..ee69c37bede 100644 --- a/performance-tests/Misc/basic_perf.cpp +++ b/performance-tests/Misc/basic_perf.cpp @@ -24,6 +24,8 @@ #include "ace/Get_Opt.h" #include "ace/OS.h" +ACE_RCSID(Misc, basic_perf, "$Id$") + static const char usage [] = "[-? |\n" " [-i <iterations> [1000000]]"; diff --git a/performance-tests/Misc/childbirth_time.cpp b/performance-tests/Misc/childbirth_time.cpp index 14977c276e5..d0bd956a03c 100644 --- a/performance-tests/Misc/childbirth_time.cpp +++ b/performance-tests/Misc/childbirth_time.cpp @@ -1,5 +1,5 @@ // $Id$ -// + // ============================================================================ // // = LIBRARY @@ -68,6 +68,8 @@ #include "ace/Profile_Timer.h" #include "ace/Thread_Manager.h" +ACE_RCSID(Misc, childbirth_time, "$Id$") + #define ACE_STOP_SIGN ACE_OS::sleep (0) #define MAX_NO_ITERATION 10000 diff --git a/performance-tests/Misc/context_switch_time.cpp b/performance-tests/Misc/context_switch_time.cpp index d5a87b9dae1..48b184c9eb6 100644 --- a/performance-tests/Misc/context_switch_time.cpp +++ b/performance-tests/Misc/context_switch_time.cpp @@ -1,5 +1,5 @@ // $Id$ -// + // ============================================================================ // // = LIBRARY @@ -56,6 +56,8 @@ static const char usage [] = "[-? |\n" #include "ace/Get_Opt.h" #include "ace/Synch.h" +ACE_RCSID(Misc, context_switch_time, "$Id$") + #if defined (ACE_HAS_THREADS) #if !defined (DEBUG) diff --git a/performance-tests/Misc/preempt.cpp b/performance-tests/Misc/preempt.cpp index 9a6df14fa6e..e9aa3123512 100644 --- a/performance-tests/Misc/preempt.cpp +++ b/performance-tests/Misc/preempt.cpp @@ -35,6 +35,8 @@ #include "ace/Sched_Params.h" #include "ace/Get_Opt.h" +ACE_RCSID(Misc, preempt, "$Id$") + #if defined (ACE_HAS_THREADS) || ! defined (ACE_LACKS_FORK) #if defined (ACE_HAS_STHREADS) diff --git a/performance-tests/Misc/test_mutex.cpp b/performance-tests/Misc/test_mutex.cpp index 5c7fee30e43..e854af98755 100644 --- a/performance-tests/Misc/test_mutex.cpp +++ b/performance-tests/Misc/test_mutex.cpp @@ -1,6 +1,6 @@ -// This test program illustrates the performance difference between // $Id$ +// This test program illustrates the performance difference between // three versions of wrappers for thread mutexes. These three // versions exercise various combinations of the following classes: // @@ -51,6 +51,8 @@ #include "ace/Profile_Timer.h" #include "ace/OS.h" +ACE_RCSID(Misc, test_mutex, "$Id$") + #if defined (ACE_HAS_THREADS) static const int DEFAULT_ITERATIONS = 100000000; diff --git a/performance-tests/Misc/test_naming.cpp b/performance-tests/Misc/test_naming.cpp index 95435643e08..24462a7cf00 100644 --- a/performance-tests/Misc/test_naming.cpp +++ b/performance-tests/Misc/test_naming.cpp @@ -20,6 +20,9 @@ #include "ace/SString.h" #include "ace/Naming_Context.h" #include "ace/Profile_Timer.h" + +ACE_RCSID(Misc, test_naming, "$Id$") + #define ACE_NS_MAX_ENTRIES 4000 static char name[BUFSIZ]; diff --git a/performance-tests/Misc/test_singleton.cpp b/performance-tests/Misc/test_singleton.cpp index f0f18644347..49c16f5f92a 100644 --- a/performance-tests/Misc/test_singleton.cpp +++ b/performance-tests/Misc/test_singleton.cpp @@ -32,6 +32,8 @@ #include "ace/Synch.h" #include "ace/Log_Msg.h" +ACE_RCSID(Misc, test_singleton, "$Id$") + #if defined (ACE_HAS_THREADS) static const int DEFAULT_ITERATIONS = 100000000; diff --git a/performance-tests/Synch-Benchmarks/Benchmark_Base.cpp b/performance-tests/Synch-Benchmarks/Benchmark_Base.cpp index 2602b4553be..0f74d7485ba 100644 --- a/performance-tests/Synch-Benchmarks/Benchmark_Base.cpp +++ b/performance-tests/Synch-Benchmarks/Benchmark_Base.cpp @@ -3,6 +3,8 @@ #define ACE_BUILD_SVC_DLL #include "Benchmark_Base.h" +ACE_RCSID(Synch_Benchmarks, Benchmark_Base, "$Id$") + #if defined (ACE_HAS_THREADS) // Initialize the static variables. diff --git a/performance-tests/Synch-Benchmarks/Benchmark_Performance.cpp b/performance-tests/Synch-Benchmarks/Benchmark_Performance.cpp index 6827e44ef40..55b594a37f7 100644 --- a/performance-tests/Synch-Benchmarks/Benchmark_Performance.cpp +++ b/performance-tests/Synch-Benchmarks/Benchmark_Performance.cpp @@ -3,6 +3,8 @@ #define ACE_BUILD_SVC_DLL #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, Benchmark_Performance, "$Id$") + #if defined (ACE_HAS_THREADS) // Global variables (used by the dynamically linked services). diff --git a/performance-tests/Synch-Benchmarks/Options.cpp b/performance-tests/Synch-Benchmarks/Options.cpp index 8e99f08441f..4c390e955c8 100644 --- a/performance-tests/Synch-Benchmarks/Options.cpp +++ b/performance-tests/Synch-Benchmarks/Options.cpp @@ -3,6 +3,8 @@ #define ACE_BUILD_SVC_DLL #include "Options.h" +ACE_RCSID(Synch_Benchmarks, Options, "$Id$") + #if defined (ACE_HAS_THREADS) // Manages the options. Options options; diff --git a/performance-tests/Synch-Benchmarks/Performance_Test.cpp b/performance-tests/Synch-Benchmarks/Performance_Test.cpp index 984db66b4ea..afac4497072 100644 --- a/performance-tests/Synch-Benchmarks/Performance_Test.cpp +++ b/performance-tests/Synch-Benchmarks/Performance_Test.cpp @@ -8,6 +8,8 @@ #include "Benchmark_Performance.h" #include "Performance_Test.h" +ACE_RCSID(Synch_Benchmarks, Performance_Test, "$Id$") + Performance_Test::Performance_Test (void) : n_lwps_ (0), orig_n_lwps_ (0) diff --git a/performance-tests/Synch-Benchmarks/condb_test.cpp b/performance-tests/Synch-Benchmarks/condb_test.cpp index 29083c25c4c..7b4bb499319 100644 --- a/performance-tests/Synch-Benchmarks/condb_test.cpp +++ b/performance-tests/Synch-Benchmarks/condb_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, condb_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Cond_Brdcast_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/conds_test.cpp b/performance-tests/Synch-Benchmarks/conds_test.cpp index 06ab68b796d..932a6b001d7 100644 --- a/performance-tests/Synch-Benchmarks/conds_test.cpp +++ b/performance-tests/Synch-Benchmarks/conds_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, conds_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Cond_Signal_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/context_test.cpp b/performance-tests/Synch-Benchmarks/context_test.cpp index 675b2cb4898..3985beb8178 100644 --- a/performance-tests/Synch-Benchmarks/context_test.cpp +++ b/performance-tests/Synch-Benchmarks/context_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, context_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Context_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/memory_test.cpp b/performance-tests/Synch-Benchmarks/memory_test.cpp index ef76c0a0bfb..9c3a006b0cf 100644 --- a/performance-tests/Synch-Benchmarks/memory_test.cpp +++ b/performance-tests/Synch-Benchmarks/memory_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, memory_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Memory_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/mutex_test.cpp b/performance-tests/Synch-Benchmarks/mutex_test.cpp index de224276380..bc9951f84e0 100644 --- a/performance-tests/Synch-Benchmarks/mutex_test.cpp +++ b/performance-tests/Synch-Benchmarks/mutex_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, mutex_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Mutex_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/pipe_proc_test.cpp b/performance-tests/Synch-Benchmarks/pipe_proc_test.cpp index eb6df41bb3f..6cfe5bfca57 100644 --- a/performance-tests/Synch-Benchmarks/pipe_proc_test.cpp +++ b/performance-tests/Synch-Benchmarks/pipe_proc_test.cpp @@ -4,6 +4,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, pipe_proc_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Pipe_Proc_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/pipe_thr_test.cpp b/performance-tests/Synch-Benchmarks/pipe_thr_test.cpp index 839973db07d..52b3adf8453 100644 --- a/performance-tests/Synch-Benchmarks/pipe_thr_test.cpp +++ b/performance-tests/Synch-Benchmarks/pipe_thr_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, pipe_thr_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Pipe_Thr_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/recursive_lock_test.cpp b/performance-tests/Synch-Benchmarks/recursive_lock_test.cpp index 47befde6b5e..f002bd2de65 100644 --- a/performance-tests/Synch-Benchmarks/recursive_lock_test.cpp +++ b/performance-tests/Synch-Benchmarks/recursive_lock_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, recursive_lock_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Recursive_Lock_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/rwrd_test.cpp b/performance-tests/Synch-Benchmarks/rwrd_test.cpp index 573d7004b03..3eb9f8f40ff 100644 --- a/performance-tests/Synch-Benchmarks/rwrd_test.cpp +++ b/performance-tests/Synch-Benchmarks/rwrd_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, rwrd_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export RWRD_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/rwwr_test.cpp b/performance-tests/Synch-Benchmarks/rwwr_test.cpp index dcf8d89a5fb..8577a5735eb 100644 --- a/performance-tests/Synch-Benchmarks/rwwr_test.cpp +++ b/performance-tests/Synch-Benchmarks/rwwr_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, rwwr_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export RWWR_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/sema_test.cpp b/performance-tests/Synch-Benchmarks/sema_test.cpp index 19ff5439b1e..d0ceccd24d2 100644 --- a/performance-tests/Synch-Benchmarks/sema_test.cpp +++ b/performance-tests/Synch-Benchmarks/sema_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, sema_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Sema_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/synch_driver.cpp b/performance-tests/Synch-Benchmarks/synch_driver.cpp index c180eef4fe6..2ecf475a5ef 100644 --- a/performance-tests/Synch-Benchmarks/synch_driver.cpp +++ b/performance-tests/Synch-Benchmarks/synch_driver.cpp @@ -1,6 +1,6 @@ -// Driver program that measures the performance of synchronization // $Id$ +// Driver program that measures the performance of synchronization // mechanisms provided by ACE and the underlying OS. #include "ace/Service_Config.h" @@ -9,6 +9,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, synch_driver, "$Id$") + #if defined (ACE_HAS_THREADS) int main (int argc, char *argv[]) diff --git a/performance-tests/Synch-Benchmarks/sysvsema_test.cpp b/performance-tests/Synch-Benchmarks/sysvsema_test.cpp index 17b9fe644ca..925062fb327 100644 --- a/performance-tests/Synch-Benchmarks/sysvsema_test.cpp +++ b/performance-tests/Synch-Benchmarks/sysvsema_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, sysvsema_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export SYSVSema_Test : public Benchmark_Performance diff --git a/performance-tests/Synch-Benchmarks/token_test.cpp b/performance-tests/Synch-Benchmarks/token_test.cpp index ab9807fc711..31716341116 100644 --- a/performance-tests/Synch-Benchmarks/token_test.cpp +++ b/performance-tests/Synch-Benchmarks/token_test.cpp @@ -5,6 +5,8 @@ #include "Options.h" #include "Benchmark_Performance.h" +ACE_RCSID(Synch_Benchmarks, token_test, "$Id$") + #if defined (ACE_HAS_THREADS) class ACE_Svc_Export Token_Test : public Benchmark_Performance diff --git a/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp b/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp index 2033dba7c59..02b93b2f699 100644 --- a/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp +++ b/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp @@ -1,4 +1,3 @@ -/* -*- C++ -*- */ // $Id$ /* @@ -43,9 +42,6 @@ * Distribution Status - * Public Domain. Distribution Unlimited. */ -#ifndef lint -static char RCSid[] = "ttcp.c $Revision$"; -#endif /* #define BSD43 */ /* #define BSD42 */ @@ -95,6 +91,8 @@ 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; diff --git a/performance-tests/TTCP/C/new-ttcp.cpp b/performance-tests/TTCP/C/new-ttcp.cpp index f4fe17da814..c499ab80fef 100644 --- a/performance-tests/TTCP/C/new-ttcp.cpp +++ b/performance-tests/TTCP/C/new-ttcp.cpp @@ -1,4 +1,3 @@ -/* -*- C++ -*- */ // $Id$ /* @@ -43,9 +42,6 @@ * Distribution Status - * Public Domain. Distribution Unlimited. */ -#ifndef lint -static char RCSid[] = "ttcp.c $Revision$"; -#endif /* #define BSD43 */ /* #define BSD42 */ @@ -95,6 +91,8 @@ struct rusage #include <sys/resource.h> #endif +ACE_RCSID(C, new_ttcp, "$Id$") + struct sockaddr_in sinme; struct sockaddr_un sunme; struct sockaddr_in sinhim; diff --git a/performance-tests/TTCP/ORBeline/ttcp_i.cpp b/performance-tests/TTCP/ORBeline/ttcp_i.cpp index 9f86f1b0eea..f6f510bd1f5 100644 --- a/performance-tests/TTCP/ORBeline/ttcp_i.cpp +++ b/performance-tests/TTCP/ORBeline/ttcp_i.cpp @@ -1,12 +1,8 @@ -/* // $Id$ +/* * T T C P . C - * */ -#ifndef lint -static char RCSid[] = "ttcp.c $Revision$"; -#endif /* #define BSD43 */ /* #define BSD42 */ @@ -47,6 +43,8 @@ struct rusage #include <sys/resource.h> #endif +ACE_RCSID(ORBeline, ttcp_i, "$Id$") + void err (char *s); void mes (char *s); void pattern (register char *cp, register int cnt); diff --git a/performance-tests/TTCP/Orbix/ttcpC.cpp b/performance-tests/TTCP/Orbix/ttcpC.cpp index 1e623b01f2e..325e3790285 100644 --- a/performance-tests/TTCP/Orbix/ttcpC.cpp +++ b/performance-tests/TTCP/Orbix/ttcpC.cpp @@ -1,8 +1,8 @@ - // $Id$ #include "ttcp.hh" +ACE_RCSID(Orbix, ttcpC, "$Id$") #ifndef _IDL_SEQUENCE_char_Ops #define _IDL_SEQUENCE_char_Ops diff --git a/performance-tests/TTCP/Orbix/ttcpS.cpp b/performance-tests/TTCP/Orbix/ttcpS.cpp index 0b31298d758..1f9f6e742bd 100644 --- a/performance-tests/TTCP/Orbix/ttcpS.cpp +++ b/performance-tests/TTCP/Orbix/ttcpS.cpp @@ -1,8 +1,8 @@ - // $Id$ #include "ttcp.hh" +ACE_RCSID(Orbix, ttcpS, "$Id$") #define ttcp_sequence_dispatch_impl diff --git a/performance-tests/TTCP/Orbix/ttcp_i.cpp b/performance-tests/TTCP/Orbix/ttcp_i.cpp index f1f5f2001c1..0299fe04d5c 100644 --- a/performance-tests/TTCP/Orbix/ttcp_i.cpp +++ b/performance-tests/TTCP/Orbix/ttcp_i.cpp @@ -1,13 +1,8 @@ - // $Id$ /* * T T C P . C - * */ -#ifndef lint -static char RCSid[] = "ttcp.c $Revision$"; -#endif /* #define BSD43 */ /* #define BSD42 */ @@ -48,6 +43,8 @@ struct rusage #include <sys/resource.h> #endif +ACE_RCSID(Orbix, ttcp_i, "$Id$") + void err (char *s); void mes (char *s); void pattern (register char *cp, register int cnt); diff --git a/performance-tests/UDP/udp_test.cpp b/performance-tests/UDP/udp_test.cpp index 2a11d756fae..6cf5c651b2d 100644 --- a/performance-tests/UDP/udp_test.cpp +++ b/performance-tests/UDP/udp_test.cpp @@ -23,6 +23,8 @@ #include "ace/Get_Opt.h" #include <math.h> +ACE_RCSID(UDP, udp_test, "$Id$") + // Global variables (evil). static const u_short DEFPORT = 5050; static const int MAXPKTSZ = 65536; |