Changeset 3778 in Sophya for trunk/AddOn/TAcq/brproc.cc


Ignore:
Timestamp:
May 18, 2010, 9:19:43 PM (15 years ago)
Author:
ansari
Message:

Ajout numero d'identification a BRBaseProcesseur, Reza 18/05/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/brproc.cc

    r3777 r3778  
    6969  fgallfibok=NULL;
    7070  fgcktt_=false;
     71  setNameId("viscalc", 0);
    7172}
    7273
     
    118119    MemZaction mmzas[4]={MemZA_ProcA,MemZA_ProcB,MemZA_ProcC,MemZA_ProcD};
    119120    SetMemZAction(mmzas[calcid_]);
     121    setNameId("viscalc_grp", calcid_);
    120122  }
    121123  return ;
     
    204206      Byte* buffg = memgr_.GetMemZone(mid);
    205207      if (buffg == NULL) {
    206         cout << "BRVisibilityCalculator::run()/ERROR memgr.GetMemZone(" << mid << ") -> NULL" << endl;
     208        cout << "BRVisibilityCalculator[" << calcid_ << "]::run()/ERROR memgr.GetMemZone(" << mid << ") -> NULL" << endl;
    207209        setRC(7);      fgrun=false;             
    208210        break; 
     
    211213        fbuff_[fib] = memgr_.GetMemZone(mid,fib);
    212214        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;
    214216          setRC(9);       fgrun=false;         
    215217          break;
     
    234236          POutPersist po(flnm);
    235237          po << vismtx_;
    236           cout << numfile_ << "-BRVisibilityCalculator::run() NPaqProc="
     238          cout << numfile_ << "-BRVisibilityCalculator[" << calcid_ << "]::run() NPaqProc="
    237239               << totnbpaq_ << "  -> Visibility Matrix in " << flnm << endl;
    238240          FillVisibTable(moyfc_, moytt_);
     
    267269      // Execution parallele  pour calcul des visibilites par bandes de frequence
    268270      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;
    270272
    271273      memgr_.FreeMemZone(mid, mmsta_);  // (MemZS_ProcA);
    272274    } // Fin de boucle sur les zones a traiter
    273275    //------------------------------------
    274     cout << " --------- END BRVisibilityCalculator::run() , TotNbProcPaq=" << totprocnpaq_ << endl;
     276    cout << " --------- END BRVisibilityCalculator[" << calcid_ << "]::run() , TotNbProcPaq=" << totprocnpaq_ << endl;
    275277    /*
    276278    for(size_t fib=0; fib<(size_t)memgr_.NbFibres(); fib++)  vpchk_[fib].Print();
     
    280282  }
    281283  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;
    283285    setRC(98); 
    284286    return;
    285287  }
    286288  catch(...) {
    287     cout << " BRVisibilityCalculator::run()/catched unknown ... exception " << endl;
     289    cout << " BRVisibilityCalculator[" << calcid_ << "]::run()/catched unknown ... exception " << endl;
    288290    setRC(99); 
    289291    return;
Note: See TracChangeset for help on using the changeset viewer.