diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-08 07:34:04 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-08 07:34:04 +0000 |
commit | afaed5a9452d4d5096318bc82dd964559a13fda2 (patch) | |
tree | 1fe606f64b8b1956a337454b7fa48fb647b0770e /performance-tests | |
parent | 3954ab97243194f863297e32af029fa054d48ac6 (diff) | |
download | ATCD-afaed5a9452d4d5096318bc82dd964559a13fda2.tar.gz |
*** empty log message ***
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp | 95 | ||||
-rw-r--r-- | performance-tests/Synch-Benchmarks/svcconf/base_acquire.conf | 20 | ||||
-rw-r--r-- | performance-tests/Synch-Benchmarks/svcconf/base_acquire_read.conf | 20 | ||||
-rw-r--r-- | performance-tests/Synch-Benchmarks/svcconf/base_acquire_write.conf | 20 | ||||
-rw-r--r-- | performance-tests/Synch-Benchmarks/svcconf/base_tryacquire.conf | 20 | ||||
-rw-r--r-- | performance-tests/Synch-Benchmarks/svcconf/base_tryacquire_read.conf | 20 | ||||
-rw-r--r-- | performance-tests/Synch-Benchmarks/svcconf/base_tryacquire_write.conf | 20 | ||||
-rw-r--r-- | performance-tests/Synch-Benchmarks/svcconf/svc.conf (renamed from performance-tests/Synch-Benchmarks/svc.conf) | 11 |
8 files changed, 218 insertions, 8 deletions
diff --git a/performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp b/performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp index e8f12275e6d..09291518276 100644 --- a/performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp +++ b/performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp @@ -3,6 +3,7 @@ #define ACE_BUILD_SVC_DLL #include "ace/Synch.h" +#include "ace/Token.h" #include "Baseline_Test.h" template<class LOCK> @@ -89,6 +90,23 @@ template<class LOCK> int Baseline_Lock_Test<LOCK>::test_try_lock () { baseline_options.start_inc_timer (); + switch (this->what_) + { + case TEST_READLOCK: + for (; baseline_options.inc_loop_counter () ; ) + this->lock_.tryacquire_read (); // This should always fail. + break; + case TEST_WRITELOCK: + for (; baseline_options.inc_loop_counter () ; ) + this->lock_.tryacquire_write (); // This should always fail. + break; + case TEST_LOCK: + default: + for (; baseline_options.inc_loop_counter () ; ) + this->lock_.tryacquire (); // This should always fail. + break; + } + for (; baseline_options.inc_loop_counter () ; ) this->lock_.tryacquire (); // This should always fail. @@ -101,6 +119,36 @@ typedef Baseline_Lock_Test<ACE_Thread_Mutex> Baseline_Mutex_Test; ACE_SVC_FACTORY_DECLARE (Baseline_Mutex_Test) ACE_SVC_FACTORY_DEFINE (Baseline_Mutex_Test) +typedef Baseline_Lock_Test<ACE_RW_Thread_Mutex> Baseline_RW_Thread_Mutex_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_RW_Thread_Mutex_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_RW_Thread_Mutex_Test) + +typedef Baseline_Lock_Test<ACE_RW_Mutex> Baseline_RW_Mutex_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_RW_Mutex_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_RW_Mutex_Test) + +typedef Baseline_Lock_Test<ACE_Process_Mutex> Baseline_Process_Mutex_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_Process_Mutex_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_Process_Mutex_Test) + +typedef Baseline_Lock_Test<ACE_RW_Process_Mutex> Baseline_RW_Process_Mutex_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_RW_Process_Mutex_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_RW_Process_Mutex_Test) + +typedef Baseline_Lock_Test<ACE_Null_Mutex> Baseline_Null_Mutex_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_Null_Mutex_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_Null_Mutex_Test) + +typedef Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Null_Mutex> > Baseline_Adaptive_Null_Mutex_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_Adaptive_Null_Mutex_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_Adaptive_Null_Mutex_Test) + typedef Baseline_Lock_Test<ACE_Recursive_Thread_Mutex> Baseline_Recursive_Mutex_Test; ACE_SVC_FACTORY_DECLARE (Baseline_Recursive_Mutex_Test) @@ -111,23 +159,70 @@ typedef Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Thread_Mutex> > Baseline_Adapti ACE_SVC_FACTORY_DECLARE (Baseline_Adaptive_Mutex_Test) ACE_SVC_FACTORY_DEFINE (Baseline_Adaptive_Mutex_Test) +typedef Baseline_Lock_Test< ACE_Lock_Adapter<ACE_RW_Mutex> > Baseline_Adaptive_RW_Mutex_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_Adaptive_RW_Mutex_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_Adaptive_RW_Mutex_Test) + typedef Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Recursive_Thread_Mutex> > Baseline_Adaptive_Recursive_Mutex_Test; ACE_SVC_FACTORY_DECLARE (Baseline_Adaptive_Recursive_Mutex_Test) ACE_SVC_FACTORY_DEFINE (Baseline_Adaptive_Recursive_Mutex_Test) +typedef Baseline_Lock_Test<ACE_Semaphore> Baseline_Semaphore_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_Semaphore_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_Semaphore_Test) + +typedef Baseline_Lock_Test<ACE_Semaphore> Baseline_Process_Semaphore_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_Process_Semaphore_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_Process_Semaphore_Test) + +typedef Baseline_Lock_Test<ACE_Null_Semaphore> Baseline_Null_Semaphore_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_Null_Semaphore_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_Null_Semaphore_Test) + +typedef Baseline_Lock_Test<ACE_Token> Baseline_Token_Test; + +ACE_SVC_FACTORY_DECLARE (Baseline_Token_Test) +ACE_SVC_FACTORY_DEFINE (Baseline_Token_Test) + #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) template class Baseline_Lock_Test<ACE_Thread_Mutex>; +template class Baseline_Lock_Test<ACE_RW_Mutex>; +template class Baseline_Lock_Test<ACE_RW_Thread_Mutex>; +template class Baseline_Lock_Test<ACE_Null_Mutex>; +template class ACE_Lock_Adapter<ACE_Null_Mutex>; +template class Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Null_Mutex> >; template class Baseline_Lock_Test<ACE_Recursive_Thread_Mutex>; template class ACE_Lock_Adapter<ACE_Thread_Mutex>; template class Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Thread_Mutex> >; +template class ACE_Lock_Adapter<ACE_RW_Mutex>; +template class Baseline_Lock_Test< ACE_Lock_Adapter<ACE_RW_Mutex> >; template class ACE_Lock_Adapter<ACE_Recursive_Thread_Mutex>; template class Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Recursive_Thread_Mutex> >; +template class Baseline_Lock_Test<ACE_Semaphore>; +template class Baseline_Lock_Test<ACE_Process_Semaphore>; +template class Baseline_Lock_Test<ACE_Null_Semaphore>; +template class Baseline_Lock_Test<ACE_Token>; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) #pragma instantiate Baseline_Lock_Test<ACE_Thread_Mutex> +#pragma instantiate Baseline_Lock_Test<ACE_RW_Mutex> +#pragma instantiate Baseline_Lock_Test<ACE_RW_Thread_Mutex> +#pragma instantiate Baseline_Lock_Test<ACE_Null_Mutex> +#pragma instantiate ACE_Lock_Adapter<ACE_Null_Mutex> +#pragma instantiate Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Null_Mutex> > #pragma instantiate Baseline_Lock_Test<ACE_Recursive_Thread_Mutex> #pragma instantiate ACE_Lock_Adapter<ACE_Thread_Mutex> #pragma instantiate Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Thread_Mutex> > +#pragma instantiate ACE_Lock_Adapter<ACE_RW_Mutex> +#pragma instantiate Baseline_Lock_Test< ACE_Lock_Adapter<ACE_RW_Mutex> > #pragma instantiate ACE_Lock_Adapter<ACE_Recursive_Thread_Mutex> #pragma instantiate Baseline_Lock_Test< ACE_Lock_Adapter<ACE_Recursive_Thread_Mutex> > +#pragma instantiate Baseline_Lock_Test<ACE_Semaphore> +#pragma instantiate Baseline_Lock_Test<ACE_Process_Semaphore> +#pragma instantiate Baseline_Lock_Test<ACE_Null_Semaphore> +#pragma instantiate Baseline_Lock_Test<ACE_Token> #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/performance-tests/Synch-Benchmarks/svcconf/base_acquire.conf b/performance-tests/Synch-Benchmarks/svcconf/base_acquire.conf new file mode 100644 index 00000000000..2727bac4e73 --- /dev/null +++ b/performance-tests/Synch-Benchmarks/svcconf/base_acquire.conf @@ -0,0 +1,20 @@ +# $Id$ +# Benchmark baseline acquire operation. + +dynamic Baseline_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Test() "" +dynamic Baseline_Base_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Base_Test() "-i 10000000" +dynamic Baseline_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Mutex_Test() "-i 10000000" +dynamic Baseline_Adaptive_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Null_Mutex_Test() "-i 10000000" +dynamic Baseline_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Mutex_Test() "-i 10000000" +dynamic Baseline_RW_Thread_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Thread_Mutex_Test() "-i 10000000" +dynamic Baseline_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Mutex_Test() "-i 10000000" +dynamic Baseline_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Mutex_Test() "-i 10000000" +dynamic Baseline_RW_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Process_Mutex_Test() "-i 10000000" +dynamic Baseline_Adaptive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Mutex_Test() "-i 10000000" +dynamic Baseline_Adaptive_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_RW_Mutex_Test() "-i 10000000" +dynamic Baseline_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Recursive_Mutex_Test() "-i 10000000" +dynamic Baseline_Adaptive_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Recursive_Mutex_Test() "-i 10000000" +dynamic Baseline_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Semaphore_Test() "-i 10000000" +dynamic Baseline_Process_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Semaphore_Test() "-i 10000000" +dynamic Baseline_Null_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Semaphore_Test() "-i 10000000" +dynamic Baseline_Token_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Token_Test() "-i 10000000" diff --git a/performance-tests/Synch-Benchmarks/svcconf/base_acquire_read.conf b/performance-tests/Synch-Benchmarks/svcconf/base_acquire_read.conf new file mode 100644 index 00000000000..9e25160b8d8 --- /dev/null +++ b/performance-tests/Synch-Benchmarks/svcconf/base_acquire_read.conf @@ -0,0 +1,20 @@ +# $Id$ +# Benchmark baseline acquire operation. + +dynamic Baseline_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Test() "" +dynamic Baseline_Base_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Base_Test() "-i 10000000 -r" +dynamic Baseline_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Adaptive_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Null_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_RW_Thread_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Thread_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_RW_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Process_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Adaptive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Adaptive_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_RW_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Recursive_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Adaptive_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Recursive_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Semaphore_Test() "-i 10000000 -r" +dynamic Baseline_Process_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Semaphore_Test() "-i 10000000 -r" +dynamic Baseline_Null_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Semaphore_Test() "-i 10000000 -r" +dynamic Baseline_Token_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Token_Test() "-i 10000000 -r" diff --git a/performance-tests/Synch-Benchmarks/svcconf/base_acquire_write.conf b/performance-tests/Synch-Benchmarks/svcconf/base_acquire_write.conf new file mode 100644 index 00000000000..147e04574ca --- /dev/null +++ b/performance-tests/Synch-Benchmarks/svcconf/base_acquire_write.conf @@ -0,0 +1,20 @@ +# $Id$ +# Benchmark baseline acquire operation. + +dynamic Baseline_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Test() "" +dynamic Baseline_Base_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Base_Test() "-i 10000000 -w" +dynamic Baseline_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Adaptive_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Null_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_RW_Thread_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Thread_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_RW_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Process_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Adaptive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Adaptive_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_RW_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Recursive_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Adaptive_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Recursive_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Semaphore_Test() "-i 10000000 -w" +dynamic Baseline_Process_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Semaphore_Test() "-i 10000000 -w" +dynamic Baseline_Null_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Semaphore_Test() "-i 10000000 -w" +dynamic Baseline_Token_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Token_Test() "-i 10000000 -w" diff --git a/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire.conf b/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire.conf new file mode 100644 index 00000000000..91f78275ffa --- /dev/null +++ b/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire.conf @@ -0,0 +1,20 @@ +# $Id$ +# Benchmark baseline tryacquire operation. + +dynamic Baseline_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Test() "-t -v" +dynamic Baseline_Base_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Base_Test() "-i 10000000" +dynamic Baseline_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Mutex_Test() "-i 10000000" +dynamic Baseline_Adaptive_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Null_Mutex_Test() "-i 10000000" +dynamic Baseline_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Mutex_Test() "-i 10000000" +dynamic Baseline_RW_Thread_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Thread_Mutex_Test() "-i 10000000" +dynamic Baseline_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Mutex_Test() "-i 10000000" +dynamic Baseline_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Mutex_Test() "-i 10000000" +dynamic Baseline_RW_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Process_Mutex_Test() "-i 10000000" +dynamic Baseline_Adaptive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Mutex_Test() "-i 10000000" +dynamic Baseline_Adaptive_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_RW_Mutex_Test() "-i 10000000" +dynamic Baseline_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Recursive_Mutex_Test() "-i 10000000" +dynamic Baseline_Adaptive_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Recursive_Mutex_Test() "-i 10000000" +dynamic Baseline_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Semaphore_Test() "-i 10000000" +dynamic Baseline_Process_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Semaphore_Test() "-i 10000000" +dynamic Baseline_Null_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Semaphore_Test() "-i 10000000" +dynamic Baseline_Token_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Token_Test() "-i 10000000" diff --git a/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire_read.conf b/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire_read.conf new file mode 100644 index 00000000000..d300b3b462f --- /dev/null +++ b/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire_read.conf @@ -0,0 +1,20 @@ +# $Id$ +# Benchmark baseline tryacquire operation. + +dynamic Baseline_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Test() "-t -v" +dynamic Baseline_Base_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Base_Test() "-i 10000000 -r" +dynamic Baseline_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Adaptive_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Null_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_RW_Thread_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Thread_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_RW_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Process_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Adaptive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Adaptive_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_RW_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Recursive_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Adaptive_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Recursive_Mutex_Test() "-i 10000000 -r" +dynamic Baseline_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Semaphore_Test() "-i 10000000 -r" +dynamic Baseline_Process_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Semaphore_Test() "-i 10000000 -r" +dynamic Baseline_Null_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Semaphore_Test() "-i 10000000 -r" +dynamic Baseline_Token_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Token_Test() "-i 10000000 -r" diff --git a/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire_write.conf b/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire_write.conf new file mode 100644 index 00000000000..d220d4ecbd5 --- /dev/null +++ b/performance-tests/Synch-Benchmarks/svcconf/base_tryacquire_write.conf @@ -0,0 +1,20 @@ +# $Id$ +# Benchmark baseline tryacquire operation. + +dynamic Baseline_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Test() "-t -v" +dynamic Baseline_Base_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Base_Test() "-i 10000000 -w" +dynamic Baseline_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Adaptive_Null_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Null_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_RW_Thread_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Thread_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_RW_Process_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_RW_Process_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Adaptive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Adaptive_RW_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_RW_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Recursive_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Adaptive_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Recursive_Mutex_Test() "-i 10000000 -w" +dynamic Baseline_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Semaphore_Test() "-i 10000000 -w" +dynamic Baseline_Process_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Process_Semaphore_Test() "-i 10000000 -w" +dynamic Baseline_Null_Semaphore_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Null_Semaphore_Test() "-i 10000000 -w" +dynamic Baseline_Token_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Token_Test() "-i 10000000 -w" diff --git a/performance-tests/Synch-Benchmarks/svc.conf b/performance-tests/Synch-Benchmarks/svcconf/svc.conf index 48484b64beb..67b355c1087 100644 --- a/performance-tests/Synch-Benchmarks/svc.conf +++ b/performance-tests/Synch-Benchmarks/svcconf/svc.conf @@ -1,13 +1,5 @@ # Dynamically configure all the tests -dynamic Baseline_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Test() "" -dynamic Baseline_Base_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Base_Test() "-m 1 -i 30000" -dynamic Baseline_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Mutex_Test() "-i 10000000" -dynamic Baseline_Adaptive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Mutex_Test() "-i 10000000" -dynamic Baseline_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Recursive_Mutex_Test() "-i 10000000" -dynamic Baseline_Adaptive_Recursive_Mutex_Test Service_Object * Base_Test/Base_Test:_make_Baseline_Adaptive_Recursive_Mutex_Test() "-i 10000000" - - #dynamic Performance_Test Service_Object * Perf_Test/Perf_Test:_make_Performance_Test() "-s 3" #dynamic Guard_Test Service_Object * Perf_Test/Perf_Test:_make_Guard_Test() "-g" #dynamic SYSVSema_Test Service_Object * Perf_Test/Perf_Test:_make_SYSVSema_Test() @@ -27,3 +19,6 @@ dynamic Baseline_Adaptive_Recursive_Mutex_Test Service_Object * Base_Test/Base_T # The following two tests don't work correctly yet... # dynamic Condition_Broadcast_Test Service_Object * Perf_Test/Perf_Test:_make_Cond_Brdcast_Test() # dynamic Condition_Signal_Test Service_Object * Perf_Test/Perf_Test:_make_Cond_Signal_Test() + +# ACE_Condition_Thread_Mutex +# ACE_File_Lock |