performance_test_options.inl

来自「ace开发环境 用来开发网络程序 其运用了设计模式、多平台、C++等多种知识」· INL 代码 · 共 270 行

INL
270
字号
/* -*- C++ -*- */// $Id: Performance_Test_Options.inl 73790 2006-07-27 20:43:46Z wotte $/* Option manager for ustreams */#include "ace/Get_Opt.h"// Since this is only included in the .h file, these should be// remain inline, not ACE_INLINE.// FUZZ: disable check_for_inlineinline intPerformance_Test_Options::do_print_summary (void){  return this->_print_summary;}inline intPerformance_Test_Options::do_udp (void){  return this->_udp;}inline voidPerformance_Test_Options::start_timer (void){  this->_itimer.start ();}inline voidPerformance_Test_Options::stop_timer (void){  this->_itimer.stop ();}inline intPerformance_Test_Options::do_generate (void){  return this->_generate;}inline intPerformance_Test_Options::do_ack (void){  return this->_ack;}inline intPerformance_Test_Options::do_eager_exit (void){  return this->_eager_exit;}inline intPerformance_Test_Options::do_zero_copy (void){  return this->_zero_copy;}inline intPerformance_Test_Options::do_checksum (void){  return this->_checksum;}inline intPerformance_Test_Options::do_delete (void){  return this->_free_memory;}inline intPerformance_Test_Options::do_xdr (void){  return this->_xdr;}inline voidPerformance_Test_Options::n_lwps (size_t count){  this->_n_lwps = count;}inline size_tPerformance_Test_Options::n_lwps (void){  return this->_n_lwps;}inline voidPerformance_Test_Options::pipe_addr (ACE_TCHAR *pipe){  this->_pipe_addr = pipe;}inline ACE_TCHAR *Performance_Test_Options::pipe_addr (void){  return this->_pipe_addr;}inline voidPerformance_Test_Options::service_entry (ACE_TCHAR *pipe){  this->_service_entry = pipe;}inline ACE_TCHAR *Performance_Test_Options::service_entry (void){  return this->_service_entry;}inline voidPerformance_Test_Options::mapped_file (ACE_TCHAR *filename){  this->_mapped_file = filename;}inline ACE_TCHAR *Performance_Test_Options::mapped_file (void){  return this->_mapped_file;}inline voidPerformance_Test_Options::sleep_time (size_t count){  this->_sleep_time = count;}inline size_tPerformance_Test_Options::sleep_time (void){  return this->_sleep_time;}inline voidPerformance_Test_Options::thr_count (size_t count){  this->_thr_count = count;}inline size_tPerformance_Test_Options::thr_count (void){  return this->_thr_count;}inline voidPerformance_Test_Options::consecutive_ports (size_t count){  this->_consecutive_ports = count;}inline size_tPerformance_Test_Options::consecutive_ports (void){  return this->_consecutive_ports;}inline voidPerformance_Test_Options::logical_connections (size_t count){  this->_logical_connections = count;}inline size_tPerformance_Test_Options::logical_connections (void){  return this->_logical_connections;}inline voidPerformance_Test_Options::physical_connections (size_t count){  this->_physical_connections = count;}inline size_tPerformance_Test_Options::physical_connections (void){  return this->_physical_connections;}inline voidPerformance_Test_Options::initial_queue_length (size_t length){  this->_initial_queue_length = length;}inline size_tPerformance_Test_Options::initial_queue_length (void){  return this->_initial_queue_length;}inline voidPerformance_Test_Options::high_water_mark (size_t size){  this->_high_water_mark = size;}inline size_tPerformance_Test_Options::high_water_mark (void){  return this->_high_water_mark;}inline voidPerformance_Test_Options::low_water_mark (size_t size){  this->_low_water_mark = size;}inline size_tPerformance_Test_Options::low_water_mark (void){  return this->_low_water_mark;}inline voidPerformance_Test_Options::msg_size (size_t size){  this->_msg_size = size;}inline size_tPerformance_Test_Options::msg_size (void){  return this->_msg_size;}inline voidPerformance_Test_Options::iterations (size_t n){  this->_iterations = n;}inline size_tPerformance_Test_Options::iterations (void){  return this->_iterations;}inline voidPerformance_Test_Options::t_flags (long flag){  this->_t_flags |= flag;}inline longPerformance_Test_Options::t_flags (void){  return this->_t_flags;}inline intPerformance_Test_Options::debug (void){  return this->_debugging;}inline intPerformance_Test_Options::verbose (void){  return this->_verbosity;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?