Update bug_report.md
[ACE_TAO.git] / ACE / performance-tests / Synch-Benchmarks / Perf_Test / Performance_Test.h
blob79e2cee9cf63103b76300c23434066a859235487
1 // -*- C++ -*-
2 #ifndef ACE_PERFORMANCE_TEST_H
3 #define ACE_PERFORMANCE_TEST_H
5 #include "ace/svc_export.h"
7 #if defined (ACE_HAS_THREADS)
9 #include "Synch_Lib/Benchmark_Base.h"
11 class ACE_Svc_Export Performance_Test : public Benchmark_Method_Base
13 public:
14 Performance_Test ();
15 virtual int init (int argc, ACE_TCHAR *argv[]);
16 virtual int pre_run_test (Benchmark_Base *bp);
17 virtual int run_test ();
18 virtual int post_run_test ();
19 virtual int valid_test_object (Benchmark_Base *);
20 private:
21 int n_lwps_;
22 int orig_n_lwps_;
25 ACE_SVC_FACTORY_DECLARE (Performance_Test)
27 #endif /* ACE_HAS_THREADS */
29 #endif /* ACE_PERFORMANCE_TEST_H */