diff options
author | Korey Sewell <ksewell@umich.edu> | 2006-06-14 14:43:45 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2006-06-14 14:43:45 -0400 |
commit | 2a9becba44f1d70b05100c04b95d475c43099fa9 (patch) | |
tree | 46ef0e871f3329698feeee25d0d6935f21661b78 /configs/test/test.py | |
parent | e715e298e044af3727423b27d08327d72b2d74fa (diff) | |
parent | 7709e6ba93be4b67b22e2f3f9c853a3e1ab4458b (diff) | |
download | gem5-2a9becba44f1d70b05100c04b95d475c43099fa9.tar.xz |
Merge zizzer:/bk/newmem
into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-release
--HG--
extra : convert_revision : 9b5b1419e8e22bce16ed97fc02c2008ca0181afc
Diffstat (limited to 'configs/test/test.py')
-rw-r--r-- | configs/test/test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/test/test.py b/configs/test/test.py index 8c5b06e6a..2ece9e675 100644 --- a/configs/test/test.py +++ b/configs/test/test.py @@ -6,12 +6,14 @@ import os, optparse, sys import m5 from m5.objects import * +from FullO3Config import * # parse command-line arguments parser = optparse.OptionParser(option_list=m5.standardOptions) parser.add_option("-c", "--cmd", default="hello") parser.add_option("-t", "--timing", action="store_true") +parser.add_option("-f", "--full", action="store_true") (options, args) = parser.parse_args() @@ -31,6 +33,8 @@ mem = PhysicalMemory() if options.timing: cpu = TimingSimpleCPU() +elif options.full: + cpu = DetailedCPU() else: cpu = AtomicSimpleCPU() cpu.workload = process |