aboutsummaryrefslogtreecommitdiff
path: root/tabulate.sh
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-05 19:45:41 -0400
committerFranklin Wei <me@fwei.tk>2018-07-05 19:45:41 -0400
commitfa2a0b2f0cf079695382020a8b418445dff0af97 (patch)
tree58c4cede728adaee693c0c4a633937f193fa318f /tabulate.sh
parent9aa64e1c89fae3efc92297657f2a8cf3de5b1047 (diff)
downloadcsaa-fa2a0b2f0cf079695382020a8b418445dff0af97.zip
csaa-fa2a0b2f0cf079695382020a8b418445dff0af97.tar.gz
csaa-fa2a0b2f0cf079695382020a8b418445dff0af97.tar.bz2
csaa-fa2a0b2f0cf079695382020a8b418445dff0af97.tar.xz
Update test scripts
One-liners are fun :)
Diffstat (limited to 'tabulate.sh')
-rwxr-xr-xtabulate.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tabulate.sh b/tabulate.sh
new file mode 100755
index 0000000..3db27e5
--- /dev/null
+++ b/tabulate.sh
@@ -0,0 +1,2 @@
+#!/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