aboutsummaryrefslogtreecommitdiff
path: root/tabulate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tabulate.sh')
-rwxr-xr-xtabulate.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/tabulate.sh b/tabulate.sh
index 3db27e5..4d10f73 100755
--- a/tabulate.sh
+++ b/tabulate.sh
@@ -1,2 +1,11 @@
#!/bin/bash
-for i in `seq 10 62`; do for j in `seq 1 1`; do echo -n "$i $j "; cat run_"$i"_"$j".txt | awk '/Elapsed/ || /Maximum/ || /User time/ || /System time/' | awk 'BEGIN{line=0}{if(line%4<=1)printf($4" ");if(line %4==2)printf($8" ");if(line%4==3)printf($6" ");}{line+=1}END{printf("\n");}'; done; done
+for i in `seq 10 62`
+do
+ rm -f run_"$i".txt
+ for j in `seq 1 40`
+ do
+ echo -n "$i $j " >> run_"$i".txt
+ cat run_"$i"_"$j".txt | awk '/Elapsed/ || /Maximum/ || /User time/ || /System time/' | awk 'BEGIN{line=0}{if(line%4<=1)printf($4" ");if(line %4==2)printf($8" ");if(line%4==3)printf($6" ");}{line+=1}END{printf("\n");}' >> run_"$i".txt
+ done
+
+done