diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /performance-tests/Synch-Benchmarks/Base_Test/base_test.cpp | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'performance-tests/Synch-Benchmarks/Base_Test/base_test.cpp')
-rw-r--r-- | performance-tests/Synch-Benchmarks/Base_Test/base_test.cpp | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/performance-tests/Synch-Benchmarks/Base_Test/base_test.cpp b/performance-tests/Synch-Benchmarks/Base_Test/base_test.cpp deleted file mode 100644 index 2f82c87f56f..00000000000 --- a/performance-tests/Synch-Benchmarks/Base_Test/base_test.cpp +++ /dev/null @@ -1,57 +0,0 @@ -// $Id$ - -#define ACE_BUILD_SVC_DLL - -#include "ace/Synch.h" -#include "Baseline_Test.h" - -class ACE_Svc_Export Baseline_Base_Test : public Baseline_Test_Base -{ -public: - virtual int acquire (); - virtual int release (); - // These two method are used to test try_acquire performance. - - virtual int test_acquire_release (); - virtual int test_try_lock (); - // Real test methods. -}; - -int -Baseline_Base_Test::acquire () -{ - return 0; -} - -int -Baseline_Base_Test::release () -{ - return 0; -} - -int -Baseline_Base_Test::test_acquire_release () -{ - baseline_options.start_inc_timer (); - - for (; baseline_options.inc_loop_counter () ; ) - ; - - baseline_options.stop_inc_timer (); - return 0; -} - -int -Baseline_Base_Test::test_try_lock () -{ - baseline_options.start_inc_timer (); - - for (; baseline_options.inc_loop_counter () ; ) - ; - - baseline_options.stop_inc_timer (); - return 0; -} - -ACE_SVC_FACTORY_DECLARE (Baseline_Base_Test) -ACE_SVC_FACTORY_DEFINE (Baseline_Base_Test) |