diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Event/Performance/Throughput.h')
-rw-r--r-- | TAO/orbsvcs/tests/Event/Performance/Throughput.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Event/Performance/Throughput.h b/TAO/orbsvcs/tests/Event/Performance/Throughput.h new file mode 100644 index 00000000000..f3d5ee6cc04 --- /dev/null +++ b/TAO/orbsvcs/tests/Event/Performance/Throughput.h @@ -0,0 +1,56 @@ +/* -*- C++ -*- */ +// $Id$ +// +// ============================================================================ +// +// = LIBRARY +// ORBSVCS Real-time Event Channel testsuite +// +// = FILENAME +// Throughput +// +// = AUTHOR +// Carlos O'Ryan (coryan@cs.wustl.edu) +// +// ============================================================================ + +#ifndef EC_THROUGHPUT_H +#define EC_THROUGHPUT_H + +#include "Driver.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +class EC_Throughput : public EC_Driver +{ + // + // = TITLE + // Test the EC throughput + // + // = DESCRIPTION + // +public: + EC_Throughput (void); + // Constructor + + // = The EC_Driver methods + virtual int parse_args (int& argc, char* argv[]); + virtual void print_args (void) const; + virtual void print_usage (void); + // add some command line args to enable/disable throughputions + + virtual void modify_attributes (TAO_EC_Event_Channel_Attributes& attr); + // set the throughpution flags + + void execute_test (ACE_ENV_SINGLE_ARG_DECL); + // Don't run the suppliers, just test connect and disconnect calls. + + void dump_results (void); + // Don't dump the EC_Driver results, they are meaningless. + +private: +}; + +#endif /* EC_THROUGHPUT_H */ |