summaryrefslogtreecommitdiffstats
path: root/handy_cmdlines
diff options
context:
space:
mode:
Diffstat (limited to 'handy_cmdlines')
-rw-r--r--handy_cmdlines2
1 files changed, 2 insertions, 0 deletions
diff --git a/handy_cmdlines b/handy_cmdlines
new file mode 100644
index 0000000..26195cb
--- /dev/null
+++ b/handy_cmdlines
@@ -0,0 +1,2 @@
+for i in $(seq 1 1000) ; do ./mem64 ; done | sort | uniq -c | awk '{ sum += ($1 * $2) } END { print sum }'
+for i in $(seq 1 1000) ; do ./mem32 ; done | awk '{ sum += $1 ; counter+=1 ; print sum/counter }'