Changeset 3923 in Sophya for trunk/AddOn/TAcq/racqueth.cc


Ignore:
Timestamp:
Dec 3, 2010, 11:37:54 PM (15 years ago)
Author:
ansari
Message:

amelioration mineures au niveau de l'impression, Reza 03/12/2010

File:
1 edited

Legend:

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

    r3917 r3923  
    192192    // Byte* nextdma = locdata+((kmz%memgr.NbZones())*(paqsz*memgr.NbPaquets()));
    193193  uint_4 npaqfaitg = 0;
     194  TimeStamp tsp;
    194195
    195196  for (int i=0;i< (int)nbDma_ ;i++)
     
    203204    if (stop_) break;
    204205
    205     if ((prtlev_>0)&&(npaqfaitg>=prtcounter)) {
    206       cout << " PCIEToEthernet::run()/Info NPaqFait= " << npaqfaitg << endl;
     206    if ((prtlev_>0)&&(npaqfaitg>=prtcounter)) {
     207      if (prtlev_>1) {
     208        tsp.SetNow();
     209        cout << tsp << " PCIEToEthernet::run()/Info NPaqFait= " << npaqfaitg << endl;
     210        for (int fib=0; fib<(int) nbDma_ ;fib++)  pcheck[fib].Print(cout);
     211      }
     212      else cout << " PCIEToEthernet::run()/Info NPaqFait= " << npaqfaitg << endl;
    207213      while(prtcounter<=npaqfaitg) prtcounter+=prtmodulo_;
    208214    }
     
    578584      totnpaqrd_++;
    579585      if ((prtlev_>0)&&(totnpaqrd_%prtmodulo_==0))  {
    580           cout << "EthernetReader: NbPaq/Link=" << totnpaqrd_ << " NSameFC="
    581                << totsamefc_ << " / NPaqFib0Read=" << totnpqrd_[0]
    582                << " FracSameFC=" << 100*totsamefc_/totnpqrd_[0] << " %" <<  endl;
     586        if (prtlev_>1) { ts.SetNow(); cout << ts; }
     587        cout << "EthernetReader: NbPaq/Link=" << totnpaqrd_ << " NSameFC="
     588             << totsamefc_ << " / NPaqFib0Read=" << totnpqrd_[0]
     589             << " FracSameFC=" << 100*totsamefc_/totnpqrd_[0] << " %" <<  endl;
    583590      }
    584591      if (totnpaqrd_>=par_.MaxNbPaquets()) {
Note: See TracChangeset for help on using the changeset viewer.