Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/MbsAPI/f_ut_seg_show.c

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 // print of daq status, setup, and multi layer setup
00017 
00018 #include "typedefs.h"
00019 #include <stdio.h>
00020 #include <string.h>
00021 #include <stddef.h>
00022 
00023 #include "sys_def.h"
00024 #include "sbs_def.h"
00025 #include "ml_def.h"
00026 #include "s_setup.h"
00027 #include "s_set_ml.h"
00028 #include "s_set_mo.h"
00029 #include "s_daqst.h"
00030 #include "err_mask_def.h"
00031 #include "errnum_def.h"
00032 #ifdef Linux
00033 #define LOUT printf("%s\n",c_line);
00034 #endif
00035 #ifdef WIN32
00036 #define LOUT printf("%s\n",c_line);
00037 #endif
00038 #ifdef Lynx
00039 #include "f_ut_error.h"
00040 #define LOUT f_ut_error("",ERR__MSG_INFO,0,c_line,MASK__PRTTERM);
00041 #endif
00042 
00043 CHARS *f_ut_time(CHARS *);
00044 
00045 INTS4 f_ut_seg_show (s_daqst *ps_daqst, s_setup *ps_setup, s_set_ml *ps_set_ml, s_set_mo *ps_set_mo)
00046 {       
00047     INTS4 i,j;
00048 CHARS c_time[32];
00049 CHARS c_line[128];
00050 CHARS *ps_master[16]={"CVC","E6","E7","AEB","CBV","CVI","CAV","RIO2","PC","RIO3","nn","nn","nn","nn","nn","nn"};
00051 
00052 sprintf(c_line,"%s",f_ut_time(c_time));LOUT;
00053 if(ps_daqst != NULL)
00054 {
00055 sprintf(c_line,"S_daqst *********************************************************************");LOUT;
00056 sprintf(c_line," l_version   __________%5d l_endian   ___________%5d",
00057 ps_daqst->l_version,          ps_daqst->l_endian);LOUT;
00058 sprintf(c_line," l_daqst_lw   _________%5d l_fix_lw   ___________%5d",
00059 ps_daqst->l_daqst_lw,         ps_daqst->l_fix_lw);LOUT;
00060 sprintf(c_line," l_sys__n_max_procs   _%5d l_sbs__str_len_64   __%5d",
00061 ps_daqst->l_sys__n_max_procs, ps_daqst->l_sbs__str_len_64);LOUT;
00062 sprintf(c_line," l_sbs__n_trg_typ   ___%5d bh_verbose_flg   _____%5d",
00063 ps_daqst->l_sbs__n_trg_typ,   ps_daqst->bh_verbose_flg);LOUT;
00064 sprintf(c_line," bl_n_events   ___%10d bl_r_events   ________%5d",
00065 ps_daqst->bl_n_events,        ps_daqst->bl_r_events);LOUT;
00066 sprintf(c_line," bl_n_buffers   ___%9d bl_r_buffers   _______%5d",
00067 ps_daqst->bl_n_buffers,       ps_daqst->bl_r_buffers);LOUT;
00068 sprintf(c_line," bl_n_bufstream   _%9d bl_r_bufstream   _____%5d",
00069 ps_daqst->bl_n_bufstream,     ps_daqst->bl_r_bufstream);LOUT;
00070 sprintf(c_line," bl_n_kbyte   ____%10d bl_r_kbyte   _________%5d",
00071 ps_daqst->bl_n_kbyte,         ps_daqst->bl_r_kbyte);LOUT;
00072 sprintf(c_line," bl_n_evserv_events %8d bl_r_evserv_events    %5d",
00073 ps_daqst->bl_n_evserv_events, ps_daqst->bl_r_evserv_events);LOUT;
00074 sprintf(c_line," bl_n_evserv_kbytes %8d bl_r_evserv_kbytes   _%5d",
00075 ps_daqst->bl_n_evserv_kbytes, ps_daqst->bl_r_evserv_kbytes);LOUT;
00076 sprintf(c_line," bl_n_strserv_bufs %9d bl_r_strserv_bufs   __%5d",
00077 ps_daqst->bl_n_strserv_bufs,  ps_daqst->bl_r_strserv_bufs);LOUT;
00078 sprintf(c_line," bl_n_strserv_kbytes %7d bl_r_strserv_kbytes   %5d",
00079 ps_daqst->bl_n_strserv_kbytes,ps_daqst->bl_r_strserv_kbytes);LOUT;
00080 sprintf(c_line," bl_n_kbyte_tape  %10d bl_r_kbyte_tape   ____%5d",
00081 ps_daqst->bl_n_kbyte_tape,    ps_daqst->bl_r_kbyte_tape); LOUT;
00082 sprintf(c_line," bl_n_kbyte_file   %9d l_free_streams________%5d",
00083 ps_daqst->bl_n_kbyte_file,    ps_daqst->l_free_streams); LOUT;
00084 sprintf(c_line," l_block_length   _____%5d l_record_size   ______%5d",
00085 ps_daqst->l_block_length,     ps_daqst->l_record_size);  LOUT;
00086 sprintf(c_line," l_block_size   _______%5d bl_flush_time   ______%5d",
00087 ps_daqst->l_block_size,       ps_daqst->bl_flush_time);    LOUT;
00088 sprintf(c_line," l_open_vol   _________%5d l_open_file   ________%5d",
00089 ps_daqst->l_open_vol,         ps_daqst->l_open_file);   LOUT;
00090 sprintf(c_line," l_max_tape_size   __%7d l_pos_on_tape   ____%7d",
00091 ps_daqst->l_max_tape_size,    ps_daqst->l_pos_on_tape);   LOUT;
00092 sprintf(c_line," l_file_auto   ________%5d l_file_cur   _________%5d",
00093 ps_daqst->l_file_auto-1,        ps_daqst->l_file_cur-1);    LOUT;
00094 sprintf(c_line," l_file_count   _______%5d l_pathnum   __________%5d",
00095 ps_daqst->l_file_count,       ps_daqst->l_pathnum);    LOUT;
00096 sprintf(c_line," l_file_size   ________%5d l_block_count   ______%5d",
00097  ps_daqst->l_file_size,       ps_daqst->l_block_count);      LOUT;
00098 sprintf(c_line," l_rate_on   __________%5d l_rate_sec   _________%5d",
00099 ps_daqst->l_rate_on,          ps_daqst->l_rate_sec);       LOUT;
00100 sprintf(c_line," bl_histo_port  _______%5d bl_run_time   ________%5d",
00101 ps_daqst->bl_histo_port,       ps_daqst->bl_run_time);    LOUT;
00102 sprintf(c_line," l_irq_driv_id   ______%5d l_irq_maj_dev_id   ___%5d",
00103 ps_daqst->l_irq_driv_id,      ps_daqst->l_irq_maj_dev_id);   LOUT;
00104 for(i=0;i<SBS__N_TRG_TYP;i++)
00105 if(ps_daqst->bl_n_trig[i] != 0)
00106 {
00107 sprintf(c_line," %2d bl_n_trig %9d bl_n_si   _____%9d bl_n_evt   _%9d",
00108 i,ps_daqst->bl_n_trig[i],ps_daqst->bl_n_si[i],ps_daqst->bl_n_evt[i]);   LOUT;
00109 }
00110 sprintf(c_line," bl_spill_on   _______%d bl_delayed_eb_ena   ___%d bl_event_build_on   %d",
00111 ps_daqst->bl_spill_on,           ps_daqst->bl_delayed_eb_ena,           ps_daqst->bl_event_build_on);LOUT;
00112 
00113 sprintf(c_line," bl_strsrv_scale   __%2d bl_strsrv_sync   ______%d bl_strsrv_keep   ___%d",
00114 ps_daqst->bl_strsrv_scale,         ps_daqst->bl_strsrv_sync,           ps_daqst->bl_strsrv_keep);LOUT;
00115 sprintf(c_line," bl_strsrv_scaled   __%d bl_strsrv_nosync   ____%d bl_strsrv_nokeep   _%d",
00116 ps_daqst->bl_strsrv_scaled,         ps_daqst->bl_strsrv_nosync,           ps_daqst->bl_strsrv_nokeep);LOUT;
00117 sprintf(c_line," bl_evtsrv_maxcli   _%2d bl_evtsrv_scale   ____%2d bl_evtsrv_events  %3d",
00118 ps_daqst->bl_evtsrv_maxcli,         ps_daqst->bl_evtsrv_scale,           ps_daqst->bl_evtsrv_events);LOUT;
00119 sprintf(c_line," bl_evtsrv_all   _____%d bl_esosrv_maxcli   ___%2d",
00120 ps_daqst->bl_evtsrv_all,           ps_daqst->bl_esosrv_maxcli);LOUT;
00121 //sprintf(c_line," bl_pipe_slots   ___%3d bl_pipe_slots_filled %3d",
00122 //ps_daqst->bl_pipe_slots,           ps_daqst->bl_pipe_slots_filled);LOUT;
00123 //sprintf(c_line," bl_pipe_size_KB %6d bl_pipe_filled_KB %6d",
00124 //ps_daqst->bl_pipe_size_KB,           ps_daqst->bl_pipe_filled_KB);LOUT;
00125 
00126 sprintf(c_line," c_user  ______________%s",ps_daqst->c_user);           LOUT;
00127 sprintf(c_line," c_date  ______________%s",ps_daqst->c_date);           LOUT;
00128 sprintf(c_line," c_exprun  ____________%s",ps_daqst->c_exprun);         LOUT;
00129 sprintf(c_line," c_exper  _____________%s",ps_daqst->c_exper);          LOUT;
00130 sprintf(c_line," c_host  ______________%s",ps_daqst->c_host);           LOUT;
00131 sprintf(c_line," c_remote______________%s",ps_daqst->c_remote);         LOUT;
00132 sprintf(c_line," c_display_____________%s",ps_daqst->c_display);        LOUT;
00133 sprintf(c_line," c_anal_segm_name  ____%s",ps_daqst->c_anal_segm_name); LOUT;
00134 sprintf(c_line," c_setup_name  ________%s",ps_daqst->c_setup_name);     LOUT;
00135 sprintf(c_line," c_ml/o_setup_name  ___%s",ps_daqst->c_ml_setup_name);  LOUT;
00136 sprintf(c_line," c_readout_name  ______%s",ps_daqst->c_readout_name);   LOUT;
00137 sprintf(c_line," c_pathstr  ___________%s",ps_daqst->c_pathstr);        LOUT;
00138 sprintf(c_line," c_devname  ___________%s",ps_daqst->c_devname);        LOUT;
00139 sprintf(c_line," c_tape_label  ________%s",ps_daqst->c_tape_label);     LOUT;
00140 sprintf(c_line," c_file_name  _________%s",ps_daqst->c_file_name);      LOUT;
00141 sprintf(c_line," c_out_chan  __________%s",ps_daqst->c_out_chan);       LOUT;
00142 
00143 sprintf(c_line," bh_daqst_initalized %d bh_acqui_started   __%d bh_acqui_running   _%d",
00144 ps_daqst->bh_daqst_initalized,         ps_daqst->bh_acqui_started,           ps_daqst->bh_acqui_running);LOUT;
00145 sprintf(c_line," bh_setup_loaded   __%d bh_set_ml/o_loaded %d %d bh_cam_tab_loaded   %d",
00146 ps_daqst->bh_setup_loaded,             ps_daqst->bh_set_ml_loaded,             ps_daqst->bh_set_mo_loaded,           ps_daqst->bh_cam_tab_loaded);LOUT;
00147 sprintf(c_line," bh_trig_master   ___%d bh_histo_enable   ___%d bh_histo_ready   ___%d",
00148 ps_daqst->bh_trig_master,              ps_daqst->bh_histo_enable,            ps_daqst->bh_histo_ready);LOUT;
00149 sprintf(c_line," bh_event_serv_ready %d bh_ena_evt_copy   ___%d l_procs_run _______%2d",
00150 ps_daqst->bh_event_serv_ready,         ps_daqst->bh_ena_evt_copy,            ps_daqst->l_procs_run);LOUT;
00151 sprintf(c_line," m_dispatch   _______%d m_msg_log   _________%d m_util   ___________%d",
00152 ps_daqst->bh_running[SYS__dispatch],   ps_daqst->bh_running[SYS__msg_log],   ps_daqst->bh_running[SYS__util]);LOUT;
00153 sprintf(c_line," m_collector   ______%d m_transport   _______%d m_read_cam_slav ____%d",
00154 ps_daqst->bh_running[SYS__collector],  ps_daqst->bh_running[SYS__transport], ps_daqst->bh_running[SYS__read_cam_slav]);LOUT;
00155 sprintf(c_line," m_read_meb   _______%d m_event_serv   ______%d m_esone_serv   _____%d",
00156 ps_daqst->bh_running[SYS__read_meb],   ps_daqst->bh_running[SYS__event_serv],ps_daqst->bh_running[SYS__esone_serv]);LOUT;
00157 sprintf(c_line," m_stream_serv   ____%d m_histogram   _______%d m_sbs_mon   ________%d",
00158 ps_daqst->bh_running[SYS__stream_serv],ps_daqst->bh_running[SYS__histogram], ps_daqst->bh_running[SYS__sbs_mon]);LOUT;
00159 sprintf(c_line," m_prompt   _________%d m_daq_rate  _________%d m_smi  _____________%d",
00160 ps_daqst->bh_running[SYS__prompt],ps_daqst->bh_running[SYS__daq_rate],ps_daqst->bh_running[SYS__smi]);LOUT;
00161 sprintf(c_line," m_ar   _____________%d m_rirec  ____________%d m_to  ______________%d",
00162 ps_daqst->bh_running[SYS__ar],ps_daqst->bh_running[SYS__rirec],ps_daqst->bh_running[SYS__to]);LOUT;
00163 sprintf(c_line," m_ds  ______________%d m_dr  _______________%d m_vme_serv  ________%d",
00164 ps_daqst->bh_running[SYS__ds],ps_daqst->bh_running[SYS__dr],ps_daqst->bh_running[SYS__vme_serv]);LOUT;
00165 
00166 sprintf(c_line," Tasks  ---------------------------------------------------------------------");        LOUT;
00167 for(i=0;i<ps_daqst->l_procs_run;i++)
00168 {
00169 sprintf(c_line," %2d pid %5d pprio%3d pact %1d type %2d pname %s",
00170 i,ps_daqst->l_pid[i],ps_daqst->l_pprio[i],ps_daqst->bh_pact[i],ps_daqst->l_type[i],ps_daqst->c_pname[i]);     LOUT;
00171 }
00172 }
00173 
00174 if(ps_setup != NULL)
00175 {
00176 sprintf(c_line,"S_setup *********************************************************************");        LOUT;
00177 
00178 sprintf(c_line," l_version ___________________%5d l_endian ___________________%5d",
00179 ps_setup->l_version,ps_setup->l_endian);LOUT;
00180 sprintf(c_line," bl_struc_len ________________%5d l_fix_lw ___________________%5d",
00181 ps_setup->bl_struc_len,             ps_setup->l_fix_lw);           LOUT;
00182 sprintf(c_line," bl_sbs__n_cr ________________%5d bl_sbs__n_trg_typ __________%5d",
00183 ps_setup->bl_sbs__n_cr,             ps_setup->bl_sbs__n_trg_typ);        LOUT;
00184 sprintf(c_line," bl_no_crates ________________%5d bh_crate_nr ________________%5d",
00185 ps_setup->bl_no_crates,             ps_setup->bh_crate_nr);        LOUT;
00186 sprintf(c_line," bl_se_meb_asy_len ___________%5d bh_rd_typ __________________%5d",
00187 ps_setup->bl_se_meb_asy_len,        ps_setup->bh_rd_typ);   LOUT;
00188 sprintf(c_line," bh_meb_asy_flg ______________%5d bh_col_mode ________________%5d",
00189 ps_setup->bh_meb_asy_flg,           ps_setup->bh_col_mode);        LOUT;
00190 sprintf(c_line," bh_meb_trig_mode ____________%5d bh_special_meb_trig_type ___%5d",
00191 ps_setup->bh_meb_trig_mode,         ps_setup->bh_special_meb_trig_type);    LOUT;
00192 sprintf(c_line," bl_loc_esone_base _______x%08x bl_rem_esone_base ______x%08x",
00193     ps_setup->bl_loc_esone_base,        ps_setup->bl_rem_esone_base);   LOUT;
00194 sprintf(c_line," bl_esone_off ____________x%08x bl_cvc_crr_off _________x%08x",
00195     ps_setup->bl_esone_off,             ps_setup->bl_cvc_crr_off);         LOUT;
00196 sprintf(c_line," bl_cvc_csr_off __________x%08x bl_cvc_clb_off _________x%08x",
00197     ps_setup->bl_cvc_csr_off,           ps_setup->bl_cvc_clb_off);         LOUT;
00198 sprintf(c_line," bl_ml_pipe_base_addr ____x%08x bl_ml_pipe_seg_len _____x%08x",
00199     ps_setup->bl_ml_pipe_base_addr,     ps_setup->bl_ml_pipe_seg_len);LOUT;
00200 sprintf(c_line," bl_special_meb_trig_base x%08x bl_ml_pipe_len _________x%08x",
00201     ps_setup->bl_special_meb_trig_base, ps_setup->bl_ml_pipe_len);LOUT;
00202 sprintf(c_line," lp_cvc_irq ______________x%08x bl_cvc_irq_len _________x%08x",
00203     ps_setup->lp_cvc_irq,               ps_setup->bl_cvc_irq_len);          LOUT;
00204 sprintf(c_line," bl_cvc_irq_source_off ___x%08x bl_cvc_irq_mask_off ____x%08x",
00205     ps_setup->bl_cvc_irq_source_off,    ps_setup->bl_cvc_irq_mask_off);LOUT;
00206 sprintf(c_line," bl_ev_buf_len ________%5d bl_n_ev_buf _______%5d bl_n_stream _______%5d",
00207 ps_setup->bl_ev_buf_len,    ps_setup->bl_n_ev_buf,   ps_setup->bl_n_stream);LOUT;
00208 sprintf(c_line," bi_evt_typ_sy ________%5d bi_evt_typ_asy ____%5d bi_evt_subtyp_sy __%5d",
00209 ps_setup->bi_evt_typ_sy,    ps_setup->bi_evt_typ_asy,ps_setup->bi_evt_subtyp_sy);LOUT;
00210 sprintf(c_line," bi_evt_subtyp_asy ____%5d h_se_control ______%5d h_rd_tab_flg ______%5d",
00211 ps_setup->bi_evt_subtyp_asy,ps_setup->h_se_control,  ps_setup->h_rd_tab_flg);LOUT;
00212 sprintf(c_line," bl_init_read_len _____%5d bl_n_col_retry ____%5d bi_master ___%4s__%5d",
00213  ps_setup->bl_init_read_len, ps_setup->bl_n_col_retry,ps_master[ps_setup->bi_master-1],ps_setup->bi_master);LOUT;
00214 sprintf(c_line," Crates ---------------------------------------------------------------------");        LOUT;
00215 for(i=0;i<SBS__N_CR;i++)
00216 {
00217 if((ps_setup->lp_rem_mem_base[i] != 0) |
00218    (ps_setup->lp_rem_cam_base[i] != 0) |
00219    (ps_setup->lp_loc_mem_base[i] != 0) |
00220    (ps_setup->lp_loc_pipe_base[i] != 0))
00221 {
00222 sprintf(c_line," %2d rem_mem_base __x%08x rem_mem_off ___x%08x rem_mem_len ___x%08x",
00223       i,ps_setup->lp_rem_mem_base[i], ps_setup->bl_rem_mem_off[i], ps_setup->bl_rem_mem_len[i]);LOUT;
00224 sprintf(c_line," %2d rem_cam_base __x%08x rem_cam_off ___x%08x rem_cam_len ___x%08x",
00225       i,ps_setup->lp_rem_cam_base[i], ps_setup->bl_rem_cam_off[i], ps_setup->bl_rem_cam_len[i]);LOUT;
00226 sprintf(c_line," %2d loc_mem_base __x%08x loc_mem_len ___x%08x loc_pipe_base _x%08x",
00227       i,ps_setup->lp_loc_mem_base[i], ps_setup->bl_loc_mem_len[i], ps_setup->lp_loc_pipe_base[i]);LOUT;
00228 sprintf(c_line," %2d pipe_off ______x%08x pipe_seg_len __x%08x pipe_len __________%5d",
00229     i,ps_setup->bl_pipe_off[i],     ps_setup->bl_pipe_seg_len[i],ps_setup->bl_pipe_len[i]); LOUT;
00230 sprintf(c_line," %2d init_tab_off __x%08x init_tab_len __x%08x",
00231                               i,ps_setup->bl_init_tab_off[i], ps_setup->bi_init_tab_len[i]);LOUT;
00232 sprintf(c_line," %2d controller_id _____%5d sy_asy_flg ________%5d trig_stat_nr ______%5d",
00233 i,ps_setup->bh_controller_id[i],ps_setup->bh_sy_asy_flg[i],  ps_setup->bh_trig_stat_nr[i]);LOUT;
00234 sprintf(c_line," %2d trig_cvt __________%5d trig_fct __________%5d rd_flg ____________%5d",
00235 i,ps_setup->bl_trig_cvt[i],     ps_setup->bl_trig_fct[i],    ps_setup->bh_rd_flg[i]);LOUT;
00236 sprintf(c_line," %2d i_se_typ __________%5d i_se_subtyp _______%5d i_se_procid _______%5d",
00237 i,ps_setup->i_se_typ[i],        ps_setup->i_se_subtyp[i],    ps_setup->i_se_procid[i]);LOUT;
00238 for(j=0;j<SBS__N_TRG_TYP;j++)
00239 {
00240 if(ps_setup->bi_rd_tab_len[i][j] != 0)
00241 {
00242 sprintf(c_line,"  %2d %2d bl_max_se_len x%08x   bl_rd_tab_off x%08x   bi_rd_tab_len x%08x",
00243 i,j,ps_setup->bl_max_se_len[i][j],ps_setup->bl_rd_tab_off[i][j],ps_setup->bi_rd_tab_len[i][j]); LOUT;
00244 }
00245 }
00246 }
00247 }
00248 }
00249 
00250 if(ps_set_ml != NULL)
00251 {
00252 sprintf(c_line,"S_set_ml ********************************************************************");        LOUT;
00253 sprintf(c_line," l_version ______________%5d l_endian _______________%5d",
00254 ps_set_ml->l_version,      ps_set_ml->l_endian);        LOUT;
00255 sprintf(c_line," l_set_ml_lw ____________%5d l_fix_lw _______________%5d",
00256 ps_set_ml->l_set_ml_lw,    ps_set_ml->l_fix_lw);     LOUT;
00257 sprintf(c_line," l_ml__n_rd_pipe ________%5d l_short_len ____________%5d",
00258 ps_set_ml->l_ml__n_rd_pipe,ps_set_ml->l_short_len); LOUT;
00259 sprintf(c_line," l_long_len _____________%5d l_n_rd_pipe ____________%5d",
00260 ps_set_ml->l_long_len,     ps_set_ml->l_n_rd_pipe);      LOUT;
00261 sprintf(c_line," l_out_mode _____________%5d l_wr_pipe_base_addr x%08x",
00262   ps_set_ml->l_out_mode,     ps_set_ml->l_wr_pipe_base_addr);LOUT;
00263 sprintf(c_line," l_wr_pipe_len ______x%08x l_wr_pipe_n_frag _______%5d",
00264   ps_set_ml->l_wr_pipe_len,  ps_set_ml->l_wr_pipe_n_frag);LOUT;
00265 sprintf(c_line," l_ev_buf_len ___________%5d l_n_ev_buf _____________%5d",
00266 ps_set_ml->l_ev_buf_len,   ps_set_ml->l_n_ev_buf);LOUT;
00267 sprintf(c_line," l_n_stream _____________%5d",
00268 ps_set_ml->l_n_stream);LOUT;
00269 sprintf(c_line," c_hostname _____________%s",
00270 ps_set_ml->c_hostname);LOUT;
00271 sprintf(c_line," Pipes ----------------------------------------------------------------------");        LOUT;
00272 for(i=0;i<ps_set_ml->l_n_rd_pipe;i++)
00273 {
00274 sprintf(c_line,"  %2d c_rd_hostname     %s",
00275 i,ps_set_ml->c_rd_hostname[i]);LOUT;
00276 sprintf(c_line,"  %2d c_sbs_setup_path  %s",
00277 i,ps_set_ml->c_sbs_setup_path[i]);LOUT;
00278 sprintf(c_line,"  %2d l_rd_pipe_base_addr x%08x   l_rd_pipe_len _____x%08x",
00279     i,ps_set_ml->l_rd_pipe_base_addr[i],ps_set_ml->l_rd_pipe_len[i]);LOUT;
00280 sprintf(c_line,"  %2d l_rd_pipe_n_frag _______%5d   l_rd_host_flg _________%5d",
00281 i,ps_set_ml->l_rd_pipe_n_frag[i],   ps_set_ml->l_rd_host_flg[i]);LOUT;
00282 }
00283 }
00284 
00285 if(ps_set_mo != NULL)
00286 {
00287   sprintf(c_line,"S_set_mo ********************************************************************");        LOUT;
00288   sprintf(c_line,"ds_hostname       dr_hostname      active");LOUT;
00289   if(ps_set_mo->l_no_senders > ps_set_mo->l_no_receivers) j = ps_set_mo->l_no_senders;
00290   else                                                    j = ps_set_mo->l_no_receivers;
00291   for(i = 0; i < j ; i++)
00292     {
00293       sprintf(c_line,"%2d %-16s  %-16s %d",i+1,
00294               &ps_set_mo->c_ds_hostname[i][0],&ps_set_mo->c_dr_hostname[i][0],ps_set_mo->bl_dr_active[i]);LOUT;
00295     }
00296   for(i = 0; i < ps_set_mo->l_no_receivers ; i++)
00297     {
00298       sprintf(c_line,"%2d l_ev_buf_len ___%5d l_n_ev_buf __%5d l_n_stream __%5d",i+1,
00299               ps_set_mo->l_ev_buf_len[i],    ps_set_mo->l_n_ev_buf[i],   ps_set_mo->l_n_stream[i]);LOUT;
00300     }
00301   sprintf(c_line,"l_max_evt_size ___%8d l_n_frag ____%5d",ps_set_mo->l_max_evt_size,ps_set_mo->l_n_frag);LOUT;
00302 
00303 }
00304 return(0);
00305 }
00306 
00307 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:08 2005 for Go4-v2.10-5 by doxygen1.2.15