Changeset 2037 in Sophya for trunk/ArchTOIPipe/TestPipes
- Timestamp:
- May 31, 2002, 10:10:58 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/mesovh2.cc
r2033 r2037 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: mesovh2.cc,v 1. 3 2002-05-30 20:44:31ansari Exp $5 // $Id: mesovh2.cc,v 1.4 2002-05-31 08:10:58 ansari Exp $ 6 6 /* mesure de performance de l'architecture 7 7 … … 32 32 else { 33 33 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" 35 35 << " [-bipro sz2] [-tripro sz2,sz3] [-quadpro sz2,sz3,sz4] \n" 36 36 << " [-pentapro sz2,sz3,sz4,sz5] [-hexapro sz2,sz3,sz4,sz5,sz6] \n" … … 43 43 << " -wtoi sz : sets TOISeqBuff/TOISegmented buffer size (def= 1024)\n" 44 44 << " -wnoop sz : sets NoOpProcessor window size \n" 45 << " -delay2 : Delay NoOpProcessor in2 --> out2 \n" 45 46 << " -bipro sz2: chain 2 processors sz2= NoOpProcessor 2 window size\n" 46 47 << " -tripro -quadpro -pentapro -hexapro ... chain 3-6 processors \n" … … 68 69 int wtoi = 1024; 69 70 int wnoop = 0; 71 bool fgdelay2 = false; 70 72 int keepfft = 0; 71 73 int nmax = 10; … … 134 136 intoi2 = arg[ia+1]; ia++; 135 137 } 138 else if (strcmp(arg[ia],"-delay2") == 0) fgdelay2 = true; 136 139 else if (strcmp(arg[ia],"-dbg") == 0) dbglev = 1; 137 140 else if (strcmp(arg[ia],"-dbg2") == 0) dbglev = 2; … … 170 173 noop[k].SetWSize(proc_wsz[k]); 171 174 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 } 172 179 } 173 180 … … 200 207 } 201 208 209 plombier.ListTOIs(cout, 1); 202 210 203 211 mgr->joinAll();
Note:
See TracChangeset
for help on using the changeset viewer.