blob: f56e8001e76a0ceda25d381fae4f0873773c909c (
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
26
27
28
29
30
31
32
|
// -*- C++ -*-
//
// $Id$
#ifndef ACE_PERFORMANCE_TEST_H
#define ACE_PERFORMANCE_TEST_H
#include "ace/svc_export.h"
#if defined (ACE_HAS_THREADS)
#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, ACE_TCHAR *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_HAS_THREADS */
#endif /* ACE_PERFORMANCE_TEST_H */
|