Changeset 1990 in Sophya
- Timestamp:
- May 8, 2002, 11:25:15 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/mesovh.cc
r1760 r1990 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: mesovh.cc,v 1. 5 2001-11-13 16:01:39 aubourgExp $5 // $Id: mesovh.cc,v 1.6 2002-05-08 21:25:15 ansari Exp $ 6 6 /* mesure de performance de l'architecture 7 7 … … 38 38 cout << "\n Usage : mesovh [-dbg] [-start snb] [-end sne] \n" 39 39 << " [-intoi name] [-wtoi sz] [-wnoop sz] [-bipro] \n" 40 << " [-intoi2 name] inFitsName \n"40 << " [-intoi2 name] [-prstat] inFitsName \n" 41 41 << " -dbg : sets TOISeqBuffered debug level to 1 \n" 42 42 << " -start snb : sets the start sample num \n" … … 47 47 << " -bipro : chain 2 processors \n" 48 48 << " -intoi2 toiName : chaine 2 procs with toi2->in2\n" 49 << " -prstat : PrintStat with ProcSampleCounter \n" 49 50 << endl; 50 51 exit(0); … … 61 62 bool fgbipro = false; 62 63 bool fgsetstart = false; 64 bool fgprstat = false; 63 65 int wtoi = 8192; 64 66 int wnoop = 0; … … 106 108 else if (strcmp(arg[ia],"-bipro") == 0) fgbipro = true; 107 109 else if (strcmp(arg[ia],"-dbg") == 0) fgdbg = true; 110 else if (strcmp(arg[ia],"-prstat") == 0) fgprstat = true; 108 111 109 112 else { ko = ia; break; } // Debut des noms … … 188 191 } 189 192 */ 190 193 194 if (fgprstat) { 195 // --------------- Impression continu de stat ------------------- 196 ProcSampleCounter<NoOpProcessor> stats(noop); 197 stats.InfoMessage() = "mesovh/Info"; 198 stats.PrintStats(); 199 // -------------------------------------------------------------- 200 } 191 201 192 202
Note:
See TracChangeset
for help on using the changeset viewer.