summaryrefslogtreecommitdiff
path: root/configs/example/ruby_random_test.py
diff options
context:
space:
mode:
authorSomayeh Sardashti <somayeh@cs.wisc.edu>2011-03-28 10:49:45 -0500
committerSomayeh Sardashti <somayeh@cs.wisc.edu>2011-03-28 10:49:45 -0500
commitc8bbfed93752c2c79d36bb9dedbc2208b856dae6 (patch)
treec33a164e435603a4424f81f7f09ec50b5f01e455 /configs/example/ruby_random_test.py
parentef987a4064f1e81fd1b61f3de03834a51658645f (diff)
downloadgem5-c8bbfed93752c2c79d36bb9dedbc2208b856dae6.tar.xz
This patch supports cache flushing in MOESI_hammer
Diffstat (limited to 'configs/example/ruby_random_test.py')
-rw-r--r--configs/example/ruby_random_test.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/configs/example/ruby_random_test.py b/configs/example/ruby_random_test.py
index ddd6a53af..8c415641b 100644
--- a/configs/example/ruby_random_test.py
+++ b/configs/example/ruby_random_test.py
@@ -82,7 +82,14 @@ if args:
#
# Create the ruby random tester
#
-tester = RubyTester(checks_to_complete = options.checks,
+
+# Check the protocol
+check_flush = False
+if buildEnv['PROTOCOL'] == 'MOESI_hammer':
+ check_flush = True
+
+tester = RubyTester(check_flush = check_flush,
+ checks_to_complete = options.checks,
wakeup_frequency = options.wakeup_freq)
#