Changeset 2037 in Sophya for trunk/ArchTOIPipe/TestPipes


Ignore:
Timestamp:
May 31, 2002, 10:10:58 AM (23 years ago)
Author:
ansari
Message:

Amelioration NoOpProcessor et mesovh2.cc pour investigation pb kill sur magique - Reza 31/5/2002

File:
1 edited

Legend:

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

    r2033 r2037  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: mesovh2.cc,v 1.3 2002-05-30 20:44:31 ansari Exp $
     5// $Id: mesovh2.cc,v 1.4 2002-05-31 08:10:58 ansari Exp $
    66/*   mesure de performance de l'architecture
    77
     
    3232  else {
    3333    cout << "\n Usage : mesovh2 [-dbg] [-start snb] [-end sne] \n"
    34          << "         [-intoi name] [-wtoi sz] [-wnoop sz] \n"
     34         << "         [-intoi name] [-wtoi sz] [-wnoop sz] [-delay2] \n"
    3535         << "         [-bipro sz2] [-tripro sz2,sz3] [-quadpro sz2,sz3,sz4] \n"
    3636         << "         [-pentapro sz2,sz3,sz4,sz5] [-hexapro sz2,sz3,sz4,sz5,sz6] \n"
     
    4343         << "   -wtoi sz : sets TOISeqBuff/TOISegmented buffer size (def= 1024)\n"
    4444         << "   -wnoop sz : sets NoOpProcessor window size \n"
     45         << "   -delay2 : Delay NoOpProcessor in2 --> out2 \n"
    4546         << "   -bipro sz2: chain 2 processors sz2= NoOpProcessor 2 window size\n"
    4647         << "   -tripro -quadpro -pentapro -hexapro ... chain 3-6 processors \n"
     
    6869  int wtoi = 1024;
    6970  int wnoop = 0;
     71  bool fgdelay2 = false;
    7072  int keepfft = 0;
    7173  int nmax = 10;
     
    134136      intoi2 = arg[ia+1]; ia++;
    135137    }   
     138    else if (strcmp(arg[ia],"-delay2") == 0)  fgdelay2 = true;
    136139    else if (strcmp(arg[ia],"-dbg") == 0)  dbglev = 1;
    137140    else if (strcmp(arg[ia],"-dbg2") == 0)  dbglev = 2;
     
    170173      noop[k].SetWSize(proc_wsz[k]);
    171174      cout << "> NoOpProcessor noop[" << k << "]  created WSz=" << proc_wsz[k] << endl;
     175      if (fgdelay2) {
     176        cout << "  Setting noop[" << k << "].SetDelay2( true ) " << endl;
     177        noop[k].SetDelay2( true );
     178      }
    172179    }
    173180   
     
    200207    }
    201208   
     209    plombier.ListTOIs(cout, 1);
    202210
    203211    mgr->joinAll();
Note: See TracChangeset for help on using the changeset viewer.