summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-10-22 12:52:58 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2006-10-22 12:52:58 -0400
commitd2856c2fde201ab1d41507ba09d088e51b35cf6c (patch)
tree92985b8b66951a6cf27f5662fec87505df315c10 /configs
parent968311d09643aa1505d89a0d902ceb06ab803782 (diff)
downloadgem5-d2856c2fde201ab1d41507ba09d088e51b35cf6c.tar.xz
Add mutex test to Benchmarks.py.
--HG-- extra : convert_revision : 9b4f1ce9a181ac5a01e5b6a68067079969dfe9ce
Diffstat (limited to 'configs')
-rw-r--r--configs/boot/mutex-test.rcS6
-rw-r--r--configs/common/Benchmarks.py2
2 files changed, 8 insertions, 0 deletions
diff --git a/configs/boot/mutex-test.rcS b/configs/boot/mutex-test.rcS
new file mode 100644
index 000000000..acf875368
--- /dev/null
+++ b/configs/boot/mutex-test.rcS
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd /benchmarks/tests
+/sbin/m5 resetstats
+./pthread_mutex_test 4 10000
+/sbin/m5 exit
diff --git a/configs/common/Benchmarks.py b/configs/common/Benchmarks.py
index 1f272517a..eda0e80f9 100644
--- a/configs/common/Benchmarks.py
+++ b/configs/common/Benchmarks.py
@@ -97,6 +97,8 @@ Benchmarks = {
'ValStreamScale': [SysConfig('micro_streamscale.rcS', '512MB')],
'ValStreamCopy': [SysConfig('micro_streamcopy.rcS', '512MB')],
+ 'MutexTest': [SysConfig('mutex-test.rcS', '128MB')],
+
'bnAn': [SysConfig('/z/saidi/work/m5.newmem.head/configs/boot/bn-app.rcS',
'128MB', '/z/saidi/work/bottleneck/bnimg.img')]
}