From: Steve Reinhardt Date: Sun, 22 Oct 2006 16:52:58 +0000 (-0400) Subject: Add mutex test to Benchmarks.py. X-Git-Tag: m5_2.0_beta2~76^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2856c2fde201ab1d41507ba09d088e51b35cf6c;p=gem5.git Add mutex test to Benchmarks.py. --HG-- extra : convert_revision : 9b4f1ce9a181ac5a01e5b6a68067079969dfe9ce --- 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')] }