diff options
Diffstat (limited to 'performance-tests/Synch-Benchmarks/Options.i')
-rw-r--r-- | performance-tests/Synch-Benchmarks/Options.i | 264 |
1 files changed, 0 insertions, 264 deletions
diff --git a/performance-tests/Synch-Benchmarks/Options.i b/performance-tests/Synch-Benchmarks/Options.i deleted file mode 100644 index 08abea93bf4..00000000000 --- a/performance-tests/Synch-Benchmarks/Options.i +++ /dev/null @@ -1,264 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -/* Option manager for ustreams */ - -#include "ace/Get_Opt.h" - -inline int -Options::do_print_summary (void) -{ - return this->_print_summary; -} - -inline int -Options::do_udp (void) -{ - return this->_udp; -} - -inline void -Options::start_timer (void) -{ - this->_itimer.start (); -} - -inline void -Options::stop_timer (void) -{ - this->_itimer.stop (); -} - -inline int -Options::do_generate (void) -{ - return this->_generate; -} - -inline int -Options::do_ack (void) -{ - return this->_ack; -} - -inline int -Options::do_eager_exit (void) -{ - return this->_eager_exit; -} - -inline int -Options::do_zero_copy (void) -{ - return this->_zero_copy; -} - -inline int -Options::do_checksum (void) -{ - return this->_checksum; -} - -inline int -Options::do_delete (void) -{ - return this->_free_memory; -} - -inline int -Options::do_xdr (void) -{ - return this->_xdr; -} - -inline void -Options::n_lwps (size_t count) -{ - this->_n_lwps = count; -} - -inline size_t -Options::n_lwps (void) -{ - return this->_n_lwps; -} - -inline void -Options::pipe_addr (char *pipe) -{ - this->_pipe_addr = pipe; -} - -inline char * -Options::pipe_addr (void) -{ - return this->_pipe_addr; -} - -inline void -Options::service_entry (char *pipe) -{ - this->_service_entry = pipe; -} - -inline char * -Options::service_entry (void) -{ - return this->_service_entry; -} - -inline void -Options::mapped_file (char *filename) -{ - this->_mapped_file = filename; -} - -inline char * -Options::mapped_file (void) -{ - return this->_mapped_file; -} - -inline void -Options::sleep_time (size_t count) -{ - this->_sleep_time = count; -} - -inline size_t -Options::sleep_time (void) -{ - return this->_sleep_time; -} - -inline void -Options::thr_count (size_t count) -{ - this->_thr_count = count; -} - -inline size_t -Options::thr_count (void) -{ - return this->_thr_count; -} - -inline void -Options::consecutive_ports (size_t count) -{ - this->_consecutive_ports = count; -} - -inline size_t -Options::consecutive_ports (void) -{ - return this->_consecutive_ports; -} - -inline void -Options::logical_connections (size_t count) -{ - this->_logical_connections = count; -} - -inline size_t -Options::logical_connections (void) -{ - return this->_logical_connections; -} - -inline void -Options::physical_connections (size_t count) -{ - this->_physical_connections = count; -} - -inline size_t -Options::physical_connections (void) -{ - return this->_physical_connections; -} - -inline void -Options::initial_queue_length (size_t length) -{ - this->_initial_queue_length = length; -} - -inline size_t -Options::initial_queue_length (void) -{ - return this->_initial_queue_length; -} - -inline void -Options::high_water_mark (size_t size) -{ - this->_high_water_mark = size; -} - -inline size_t -Options::high_water_mark (void) -{ - return this->_high_water_mark; -} - -inline void -Options::low_water_mark (size_t size) -{ - this->_low_water_mark = size; -} - -inline size_t -Options::low_water_mark (void) -{ - return this->_low_water_mark; -} - -inline void -Options::msg_size (size_t size) -{ - this->_msg_size = size; -} - -inline size_t -Options::msg_size (void) -{ - return this->_msg_size; -} - -inline void -Options::iterations (size_t n) -{ - this->_iterations = n; -} - -inline size_t -Options::iterations (void) -{ - return this->_iterations; -} - -inline void -Options::t_flags (long flag) -{ - this->_t_flags |= flag; -} - -inline long -Options::t_flags (void) -{ - return this->_t_flags; -} - -inline int -Options::debug (void) -{ - return this->_debugging; -} - -inline int -Options::verbose (void) -{ - return this->_verbosity; -} |