summaryrefslogtreecommitdiff
path: root/configs/example/ruby_network_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/example/ruby_network_test.py')
-rw-r--r--configs/example/ruby_network_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/example/ruby_network_test.py b/configs/example/ruby_network_test.py
index aa93acd2f..2d68a81ea 100644
--- a/configs/example/ruby_network_test.py
+++ b/configs/example/ruby_network_test.py
@@ -35,6 +35,8 @@ from m5.util import addToPath
import os, optparse, sys
addToPath('../common')
addToPath('../ruby')
+
+import Options
import Ruby
# Get paths we might need. It's expected this file is in m5/configs/example.
@@ -43,6 +45,7 @@ config_root = os.path.dirname(config_path)
m5_root = os.path.dirname(config_root)
parser = optparse.OptionParser()
+Options.addCommonOptions(parser)
parser.add_option("--synthetic", type="int", default=0,
help="Synthetic Traffic type. 0 = Uniform Random,\