Changeset 3897 in Sophya for trunk/AddOn/TAcq/brparam.cc
- Timestamp:
- Oct 4, 2010, 4:19:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brparam.cc
r3883 r3897 135 135 tcpportid=BRSPORTID; 136 136 pci2eth_fgdirect=false; 137 ethr_nlink = 0; 138 ethr_forcesamefc_ = false; 137 ethr_nlink=0; 138 ethr_forcesamefc_=false; 139 ethr_sfc_maxdpc_=50; 140 ethr_sfc_maxresync_=50; 139 141 140 142 skysource=""; … … 208 210 ethr_nlink=p.ethr_nlink; 209 211 ethr_forcesamefc_=p.ethr_forcesamefc_; 212 ethr_sfc_maxdpc_=p.ethr_sfc_maxdpc_; 213 ethr_sfc_maxresync_=p.ethr_sfc_maxresync_; 210 214 211 215 skysource=p.skysource; … … 254 258 } 255 259 ethr_nlink=conf.IParam("ethrnlink",0,0); // Nombre de sources de paquets en reception ethernet 256 if (conf.HasKey("ethrforcesamefc")) ethr_forcesamefc_=true; // force SAME FrameCounter on all links 260 if (conf.HasKey("ethrforcesamefc")) { 261 ethr_forcesamefc_=true; // force SAME FrameCounter on all links 262 ethr_sfc_maxdpc_=conf.IParam("ethrforcesamefc",0,50); 263 ethr_sfc_maxresync_=conf.IParam("ethrforcesamefc",1,50); 264 } 257 265 258 266 // Parametre de controle du monitoring … … 387 395 cout << endl; 388 396 } 389 cout << " TCP-PortId=" << tcpportid << " EthernetRead NbSources (=NbLinks)= " << ethr_nlink 390 << ((ethr_forcesamefc_)?" ForceSameFrameCounter read mode":" AllOKPaquets read mode ") << endl; 397 cout << " TCP-PortId=" << tcpportid << " EthernetRead NbSources (=NbLinks)= " << ethr_nlink << endl; 398 if (ethr_forcesamefc_) 399 cout << "EthernetReader mode: ForceSameFrameCounter read mode with Max_PaquetCounterDiff= " 400 << ethr_sfc_maxdpc_ << " MaxNbResync=" << ethr_sfc_maxresync_ << endl; 401 else 402 cout << "EthernetReader mode: AllOKPaquets read mode " << endl; 391 403 392 404 if (fgdoProc>0)
Note:
See TracChangeset
for help on using the changeset viewer.