summaryrefslogtreecommitdiff
path: root/performance-tests/Synch-Benchmarks/Performance_Test.h
blob: 9e293ec43d6ca14fb3e48c9d0dd66e422b9f2c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// -*- C++ -*-
// $Id$

#if !defined (ACE_PERFORMANCE_TEST_H)
#define ACE_PERFORMANCE_TEST_H

#include "Benchmark_Base.h"

class ACE_Svc_Export Performance_Test : public Benchmark_Method_Base
{
public:
  Performance_Test (void);
  int init (int argc, char **argv);
  virtual int pre_run_test (Benchmark_Base *bp);
  virtual int run_test (void);
  virtual int post_run_test (void);
  virtual int valid_test_object (Benchmark_Base *);
private:
  int n_lwps_;
  int orig_n_lwps_;
};

ACE_SVC_FACTORY_DECLARE (Performance_Test)

#endif /* ACE_PERFORMANCE_TEST_H */