From 7331a98da2eb0383936b5a36da05a5db8c4db67e Mon Sep 17 00:00:00 2001 From: gonzo Date: Mon, 3 Aug 1998 22:54:52 +0000 Subject: Added ACE_RCSID to performance-tests/ --- performance-tests/Misc/basic_func.cpp | 2 ++ performance-tests/Misc/basic_perf.cpp | 2 ++ performance-tests/Misc/childbirth_time.cpp | 4 +++- performance-tests/Misc/context_switch_time.cpp | 4 +++- performance-tests/Misc/preempt.cpp | 2 ++ performance-tests/Misc/test_mutex.cpp | 4 +++- performance-tests/Misc/test_naming.cpp | 3 +++ performance-tests/Misc/test_singleton.cpp | 2 ++ 8 files changed, 20 insertions(+), 3 deletions(-) (limited to 'performance-tests/Misc') 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 [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; -- cgit v1.2.1