summaryrefslogtreecommitdiffstats
path: root/handy_cmdlines
diff options
context:
space:
mode:
authorRobin Nehls <nehls@mi.fu-berlin.de>2011-05-21 16:00:27 +0200
committerRobin Nehls <nehls@mi.fu-berlin.de>2011-05-21 16:00:27 +0200
commite2a88976dce990b2ee9651a8a68cf1747f306a7c (patch)
tree0b09163b07f0a5b067b141aeae9effca60d2df6c /handy_cmdlines
parentef62382005c5f9c97bc472b73cd13e87778b7adf (diff)
downloadmanycore-e2a88976dce990b2ee9651a8a68cf1747f306a7c.tar.gz
manycore-e2a88976dce990b2ee9651a8a68cf1747f306a7c.tar.bz2
manycore-e2a88976dce990b2ee9651a8a68cf1747f306a7c.zip
clean up
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 }'