1 #define ACE_BUILD_SVC_DLL
2 #include "Performance_Test_Options.h"
3 #include "Benchmark_Performance.h"
5 #if defined (ACE_HAS_THREADS)
7 class ACE_Svc_Export Context_Test
: public Benchmark_Performance
16 int ni
= this->thr_id ();
20 while (!this->done ())
23 performance_test_options
.thr_work_count
[ni
]++;
30 ACE_SVC_FACTORY_DECLARE (Context_Test
)
31 ACE_SVC_FACTORY_DEFINE (Context_Test
)
33 // ACE_Service_Object_Type ct (&context_test, "Context_Test");
34 #endif /* ACE_HAS_THREADS */