Changeset 3778 in Sophya for trunk/AddOn/TAcq/brproc.cc
- Timestamp:
- May 18, 2010, 9:19:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brproc.cc
r3777 r3778 69 69 fgallfibok=NULL; 70 70 fgcktt_=false; 71 setNameId("viscalc", 0); 71 72 } 72 73 … … 118 119 MemZaction mmzas[4]={MemZA_ProcA,MemZA_ProcB,MemZA_ProcC,MemZA_ProcD}; 119 120 SetMemZAction(mmzas[calcid_]); 121 setNameId("viscalc_grp", calcid_); 120 122 } 121 123 return ; … … 204 206 Byte* buffg = memgr_.GetMemZone(mid); 205 207 if (buffg == NULL) { 206 cout << "BRVisibilityCalculator ::run()/ERROR memgr.GetMemZone(" << mid << ") -> NULL" << endl;208 cout << "BRVisibilityCalculator[" << calcid_ << "]::run()/ERROR memgr.GetMemZone(" << mid << ") -> NULL" << endl; 207 209 setRC(7); fgrun=false; 208 210 break; … … 211 213 fbuff_[fib] = memgr_.GetMemZone(mid,fib); 212 214 if (fbuff_[fib] == NULL) { // cela ne devrait pas arriver 213 cout << "BRVisibilityCalculator ::run()/ERROR memgr.GetMemZone(" << mid << "," << fib << ") -> NULL" << endl;215 cout << "BRVisibilityCalculator[" << calcid_ << "]::run()/ERROR memgr.GetMemZone(" << mid << "," << fib << ") -> NULL" << endl; 214 216 setRC(9); fgrun=false; 215 217 break; … … 234 236 POutPersist po(flnm); 235 237 po << vismtx_; 236 cout << numfile_ << "-BRVisibilityCalculator ::run() NPaqProc="238 cout << numfile_ << "-BRVisibilityCalculator[" << calcid_ << "]::run() NPaqProc=" 237 239 << totnbpaq_ << " -> Visibility Matrix in " << flnm << endl; 238 240 FillVisibTable(moyfc_, moytt_); … … 267 269 // Execution parallele pour calcul des visibilites par bandes de frequence 268 270 int rcpex=paralex_.execute(); 269 if (rcpex!=0) cout << " BRVisibilityCalculator ::run() / Error Rc[paralex_.execute()]=" << rcpex << endl;271 if (rcpex!=0) cout << " BRVisibilityCalculator[" << calcid_ << "]::run() / Error Rc[paralex_.execute()]=" << rcpex << endl; 270 272 271 273 memgr_.FreeMemZone(mid, mmsta_); // (MemZS_ProcA); 272 274 } // Fin de boucle sur les zones a traiter 273 275 //------------------------------------ 274 cout << " --------- END BRVisibilityCalculator ::run() , TotNbProcPaq=" << totprocnpaq_ << endl;276 cout << " --------- END BRVisibilityCalculator[" << calcid_ << "]::run() , TotNbProcPaq=" << totprocnpaq_ << endl; 275 277 /* 276 278 for(size_t fib=0; fib<(size_t)memgr_.NbFibres(); fib++) vpchk_[fib].Print(); … … 280 282 } 281 283 catch (std::exception& exc) { 282 cout << " BRVisibilityCalculator ::run()/catched std::exception " << exc.what() << endl;284 cout << " BRVisibilityCalculator[" << calcid_ << "]::run()/catched std::exception " << exc.what() << endl; 283 285 setRC(98); 284 286 return; 285 287 } 286 288 catch(...) { 287 cout << " BRVisibilityCalculator ::run()/catched unknown ... exception " << endl;289 cout << " BRVisibilityCalculator[" << calcid_ << "]::run()/catched unknown ... exception " << endl; 288 290 setRC(99); 289 291 return;
Note:
See TracChangeset
for help on using the changeset viewer.