Changeset 1699 in Sophya for trunk/ArchTOIPipe/TestPipes
- Timestamp:
- Oct 15, 2001, 11:55:09 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/tstdemopipe.cc
r1676 r1699 82 82 #include "fitstoiwtr.h" 83 83 #include "toimanager.h" 84 #include "toise qbuff.h"84 #include "toisegment.h" 85 85 #include "sophyainit.h" 86 86 … … 247 247 248 248 // tuyau bolo10 pour entree processeur 249 TOISe qBuffered * bolo10 = new TOISeqBuffered("tuyau_bolo_10",taille);249 TOISegmented * bolo10 = new TOISegmented("tuyau_bolo_10",taille); 250 250 // connection a la colonne correspondante du lecteur fits 251 251 rfits1.addOutput("boloMuV_10",bolo10); … … 257 257 258 258 // tuyau bolo20 pour entree processeur (idem cf au dessus) 259 TOISe qBuffered * bolo20 = new TOISeqBuffered("tuyau_bolo_20",taille);259 TOISegmented * bolo20 = new TOISegmented("tuyau_bolo_20",taille); 260 260 rfits1.addOutput("boloMuV_20",bolo20); 261 261 demo.addInput("entree_bolo_2",bolo20); … … 264 264 265 265 // tuyau bolo30 pour entree processeur (idem cf au dessus) 266 TOISe qBuffered * bolo30 = new TOISeqBuffered("tuyau_bolo_30",taille);266 TOISegmented * bolo30 = new TOISegmented("tuyau_bolo_30",taille); 267 267 rfits2.addOutput("boloMuV_30",bolo30); 268 268 demo.addInput("entree_bolo_3",bolo30); … … 271 271 272 272 // tuyau bolosum pour sortie processeur 273 TOISe qBuffered * bolosum = new TOISeqBuffered("tuyau_bolo_sum",taille);273 TOISegmented * bolosum = new TOISegmented("tuyau_bolo_sum",taille); 274 274 demo.addOutput("sortie_bolo_sum",bolosum); 275 275 writeflag = true; … … 277 277 278 278 // tuyau bolomul pour sortie processeur 279 TOISe qBuffered * bolomul = new TOISeqBuffered("tuyau_bolo_mul",taille);279 TOISegmented * bolomul = new TOISegmented("tuyau_bolo_mul",taille); 280 280 demo.addOutput("sortie_bolo_mul",bolomul); 281 281 writeflag = true; … … 289 289 cout<<"----- FITSWriterTOI::PrintStatus() : -----"<<endl; 290 290 wfits.PrintStatus(cout); 291 cout<<"----- TOISe qBuffered::PrintStatus() : -----"<<endl;291 cout<<"----- TOISegmented::PrintStatus() : -----"<<endl; 292 292 bolo10->PrintStatus(cout); 293 293 bolo20->PrintStatus(cout); … … 306 306 307 307 // Affichage de l'avancement des TOIProcessors (optionnel) 308 ProcSampleCounter<FITSTOIReader> statr(rfits1);309 statr.InfoMessage() = "tstdemopipe/Info rfits1";310 statr.PrintStats();311 312 ProcSampleCounter<FITSTOIWriter> statw(wfits);313 statw.InfoMessage() = "tstdemopipe/Info wfits";314 statw.PrintStats();315 316 ProcSampleCounter<DemoPipe> statp(demo);317 statp.InfoMessage() = "tstdemopipe/Info DemoPipe";318 statp.PrintStats();308 // ProcSampleCounter<FITSTOIReader> statr(rfits1); 309 // statr.InfoMessage() = "tstdemopipe/Info rfits1"; 310 // statr.PrintStats(); 311 312 // ProcSampleCounter<FITSTOIWriter> statw(wfits); 313 // statw.InfoMessage() = "tstdemopipe/Info wfits"; 314 // statw.PrintStats(); 315 316 // ProcSampleCounter<DemoPipe> statp(demo); 317 // statp.InfoMessage() = "tstdemopipe/Info DemoPipe"; 318 // statp.PrintStats(); 319 319 320 320 // Gestion de la re-connection des threads … … 346 346 void crefits(void) 347 347 { 348 const int nro = 50000 ;348 const int nro = 500000; 349 349 const int sn1 = 100001; 350 350 const int sn2 = 100001+100;
Note:
See TracChangeset
for help on using the changeset viewer.