Add mutex test to Benchmarks.py.
authorSteve Reinhardt <stever@eecs.umich.edu>
Sun, 22 Oct 2006 16:52:58 +0000 (12:52 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Sun, 22 Oct 2006 16:52:58 +0000 (12:52 -0400)
--HG--
extra : convert_revision : 9b4f1ce9a181ac5a01e5b6a68067079969dfe9ce

configs/boot/mutex-test.rcS [new file with mode: 0644]
configs/common/Benchmarks.py

diff --git a/configs/boot/mutex-test.rcS b/configs/boot/mutex-test.rcS
new file mode 100644 (file)
index 0000000..acf8753
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd /benchmarks/tests
+/sbin/m5 resetstats 
+./pthread_mutex_test 4 10000
+/sbin/m5 exit
index 1f272517ab3d627ecf41321bec02d01e2b4e84b2..eda0e80f93ce84de917e4afc19533aa9bd26a72e 100644 (file)
@@ -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')]
 }