diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-13 14:15:24 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-13 14:15:24 -0400 |
commit | 72e4b98b8dd29b72415a1294e9e35387027d6cf9 (patch) | |
tree | 6354918af6819b3c44850bfb4e366cefef1e2dc1 /configs | |
parent | 66af2a7bf4c82cb90fde5d3a796bbe2cad9ed560 (diff) | |
download | gem5-72e4b98b8dd29b72415a1294e9e35387027d6cf9.tar.xz |
Add in DetailedCPU to test.
--HG--
extra : convert_revision : 98c67b45af239e1cf5bad6888da6577a4c3bb45d
Diffstat (limited to 'configs')
-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 |