summaryrefslogtreecommitdiff
path: root/performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test.h
blob: c6775cb5bbe371bcf82355e60cb517de98b772fa (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);
  virtual 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 */