[Lemon-commits] [lemon_svn] alpar: r977 - hugo/trunk/src/benchmark

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:42:31 CET 2006


Author: alpar
Date: Wed Jul 21 19:40:36 2004
New Revision: 977

Modified:
   hugo/trunk/src/benchmark/benchmark

Log:
Doesn't compile 5 times for the five execution.


Modified: hugo/trunk/src/benchmark/benchmark
==============================================================================
--- hugo/trunk/src/benchmark/benchmark	(original)
+++ hugo/trunk/src/benchmark/benchmark	Wed Jul 21 19:40:36 2004
@@ -3,7 +3,11 @@
 function runtest () # prefix, prog, args
 {
     echo $1 1>&2
-    $2 $3 $4 $5 $6 $7 $8 $9|awk '{print "'$1'",$0}'
+    for ((i=1;i<5;i++))
+      do
+      $2 $3 $4 $5 $6 $7 $8 $9;
+    done |
+    awk '{print "'$1'",$0}'
 }
 
 function runalltest() #postfix, CXX, CXXFLAGS



More information about the Lemon-commits mailing list