summaryrefslogtreecommitdiff
path: root/performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test.h
blob: 27c60d8cc9c0b70fcca68c758df0314d53e3d5e5 (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$

#ifndef ACE_PERFORMANCE_TEST_H
#define ACE_PERFORMANCE_TEST_H

#include "Synch_Lib/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 */