summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
authorRobin Nehls <nehls@mi.fu-berlin.de>2011-05-21 11:40:18 +0200
committerRobin Nehls <nehls@mi.fu-berlin.de>2011-05-21 11:40:18 +0200
commit2674da763577c71a05be0145569056228b2eee29 (patch)
treef0eefae3e5da602cd697dd9c35b0439469918ea8 /bench
downloadmanycore-2674da763577c71a05be0145569056228b2eee29.tar.gz
manycore-2674da763577c71a05be0145569056228b2eee29.tar.bz2
manycore-2674da763577c71a05be0145569056228b2eee29.zip
initial commit
Diffstat (limited to 'bench')
-rw-r--r--bench2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench b/bench
new file mode 100644
index 0000000..26195cb
--- /dev/null
+++ b/bench
@@ -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 }'