diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-06 21:48:04 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-06 21:48:04 +0000 |
commit | 7ea713c22bfdb04b1cd5be2dac34c83b1e83fd04 (patch) | |
tree | 5ec27b869b80ab5e84a381932afb8d7df29634aa /performance-tests | |
parent | 168c3a342c5dfd5531d622f1ae142a2c762b6b5b (diff) | |
download | ATCD-7ea713c22bfdb04b1cd5be2dac34c83b1e83fd04.tar.gz |
ChangeLogTag:Wed Mar 6 14:43:34 2002 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'performance-tests')
13 files changed, 15 insertions, 15 deletions
diff --git a/performance-tests/Misc/basic_perf.cpp b/performance-tests/Misc/basic_perf.cpp index ea8a5bd4e16..6156ff6ce30 100644 --- a/performance-tests/Misc/basic_perf.cpp +++ b/performance-tests/Misc/basic_perf.cpp @@ -550,7 +550,7 @@ get_options (int argc, ACE_TCHAR *argv []) /////////////////////////////////////////////////////////////////////////////// int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { if (get_options (argc, argv)) ACE_OS::exit (-1); diff --git a/performance-tests/Misc/childbirth_time.cpp b/performance-tests/Misc/childbirth_time.cpp index a7942bd8966..8ca0de1a0f6 100644 --- a/performance-tests/Misc/childbirth_time.cpp +++ b/performance-tests/Misc/childbirth_time.cpp @@ -333,7 +333,7 @@ prof_mutex_base (size_t iteration) } int -main (int argc, ACE_TCHAR* argv[]) +ACE_TMAIN (int argc, ACE_TCHAR* argv[]) { ACE_Get_Opt get_opt (argc, argv, ACE_TEXT("n:l:pftahmxe")); int c; diff --git a/performance-tests/Misc/context_switch_time.cpp b/performance-tests/Misc/context_switch_time.cpp index bdb1b4692d0..78ee6289d47 100644 --- a/performance-tests/Misc/context_switch_time.cpp +++ b/performance-tests/Misc/context_switch_time.cpp @@ -1143,7 +1143,7 @@ get_options (int argc, ACE_TCHAR *argv[]) /////////////////////////////////////////////////////////////////////////////// int -main (int argc, ACE_TCHAR *argv []) +ACE_TMAIN (int argc, ACE_TCHAR *argv []) { ACE_LOG_MSG->open (argv[0] > 0 ? argv[0] : ACE_TEXT("context_switch_time")); diff --git a/performance-tests/Misc/preempt.cpp b/performance-tests/Misc/preempt.cpp index 7a0ee743966..ff95d54d78e 100644 --- a/performance-tests/Misc/preempt.cpp +++ b/performance-tests/Misc/preempt.cpp @@ -356,7 +356,7 @@ get_options (int argc, ACE_TCHAR *argv[]) /////////////////////////////////////////////////////////////////////////////// int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { ACE_LOG_MSG->open (argv[0] ? argv[0] : ACE_TEXT("preempt")); diff --git a/performance-tests/Misc/test_mutex.cpp b/performance-tests/Misc/test_mutex.cpp index 7428ae48346..6c510dfc164 100644 --- a/performance-tests/Misc/test_mutex.cpp +++ b/performance-tests/Misc/test_mutex.cpp @@ -140,7 +140,7 @@ static Thread_Mutex_Derived thread_mutex_derived; static Mutex_Base *mutex_base = &thread_mutex_derived; int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { ACE_Profile_Timer timer; int iterations = argc > 1 ? ACE_OS::atoi (argv[1]) : DEFAULT_ITERATIONS; @@ -224,7 +224,7 @@ main (int argc, ACE_TCHAR *argv[]) } #else int -main (int, ACE_TCHAR *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR ((LM_ERROR, "threads not supported on this platform\n")); return 0; diff --git a/performance-tests/Misc/test_naming.cpp b/performance-tests/Misc/test_naming.cpp index 6882a599a03..f8af5fc827d 100644 --- a/performance-tests/Misc/test_naming.cpp +++ b/performance-tests/Misc/test_naming.cpp @@ -177,7 +177,7 @@ void do_testing (int argc, ACE_TCHAR *argv[], int light) int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { // Do testing with SYNC on ACE_DEBUG ((LM_DEBUG, "SYNC is ON\n")); diff --git a/performance-tests/Misc/test_singleton.cpp b/performance-tests/Misc/test_singleton.cpp index 61cb38ff13d..bd76d58926a 100644 --- a/performance-tests/Misc/test_singleton.cpp +++ b/performance-tests/Misc/test_singleton.cpp @@ -91,7 +91,7 @@ DC_Singleton::instance (void) typedef ACE_Singleton <DC_Singleton, ACE_SYNCH_MUTEX> My_Singleton; int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { ACE_Profile_Timer timer; int iterations = argc > 1 ? ACE_OS::atoi (argv[1]) : DEFAULT_ITERATIONS; @@ -170,7 +170,7 @@ template class ACE_Singleton<DC_Singleton, ACE_SYNCH_MUTEX>; #else int -main (int, ACE_TCHAR *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR ((LM_ERROR, "threads not supported on this platform\n")); return 0; diff --git a/performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.cpp b/performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.cpp index 47e504591ed..963cce5109a 100644 --- a/performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.cpp +++ b/performance-tests/Server_Concurrency/Leader_Follower/RT_CORBA_Leader_Follower.cpp @@ -284,7 +284,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) // Entry point int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int result = parse_args (argc, argv); if (result != 0) diff --git a/performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp b/performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp index 5ac10dbfc8a..a045f3705b5 100644 --- a/performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp +++ b/performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp @@ -232,7 +232,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int result = parse_args (argc, argv); if (result != 0) diff --git a/performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.cpp b/performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.cpp index 1ff045b9b04..6a1a52ddd3a 100644 --- a/performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.cpp +++ b/performance-tests/Server_Concurrency/Queue_Based_Workers/RT_CORBA_Workers.cpp @@ -433,7 +433,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) /*******************************************************************/ int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int result = parse_args (argc, argv); if (result != 0) diff --git a/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp b/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp index 48e220cf408..a05b2bdfbc6 100644 --- a/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp +++ b/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp @@ -274,7 +274,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int result = parse_args (argc, argv); if (result != 0) diff --git a/performance-tests/TCP/tcp_test.cpp b/performance-tests/TCP/tcp_test.cpp index 9bcee4e1989..f93ba193c37 100644 --- a/performance-tests/TCP/tcp_test.cpp +++ b/performance-tests/TCP/tcp_test.cpp @@ -496,7 +496,7 @@ run_server (ACE_INET_Addr &addr) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int c, dstport = DEFPORT; int priority = diff --git a/performance-tests/UDP/udp_test.cpp b/performance-tests/UDP/udp_test.cpp index 2c6fa2373b0..2b0d8361da9 100644 --- a/performance-tests/UDP/udp_test.cpp +++ b/performance-tests/UDP/udp_test.cpp @@ -594,7 +594,7 @@ Server::handle_close (ACE_HANDLE, } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int c, dstport = DEFPORT; int so_bufsz = 0; |