Changeset 2086 in Sophya for trunk/ArchTOIPipe


Ignore:
Timestamp:
Jul 8, 2002, 3:51:27 PM (23 years ago)
Author:
ansari
Message:

Reactivation PrintStat() ds toimerge.cc, avec un sleep(3) avant - Reza 8/7/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/TestPipes/toimerge.cc

    r2079 r2086  
    137137
    138138 // ------------------- Impression continu de stat ------------------------
    139  //if(lp>1) {
    140  //  ProcSampleCounter<FITSTOIWriter> stats(wfits);
    141  //  stats.InfoMessage() = "toimerge/Info";
    142  //  stats.PrintStats();
    143  //}
     139 if(lp>1) {
     140   sleep(3);  // Il faut attendre que le FitsWriter ait demarre
     141   ProcSampleCounter<FITSTOIWriter> stats(wfits);
     142   stats.InfoMessage() = "toimerge/Info";
     143   stats.PrintStats();
     144 }
    144145 // -----------------------------------------------------------------------
    145146
     
    159160  cout<<"\ntoimerge: Catched std::exception \n"
    160161      <<(string)typeid(sex).name()<<endl;
    161 } catch (...) {
    162   cout<<"\ntoimerge: some other exception was caught ! "<<endl;
    163 }
     162} //catch (...) {
     163//cout<<"\ntoimerge: some other exception was caught ! "<<endl;
     164//}
    164165//--------------------------------------------------------------------
    165166
Note: See TracChangeset for help on using the changeset viewer.