Options.py (8659:78f27ef5e919) Options.py (8671:7945abdd05cb)
1# Copyright (c) 2006-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 13 unchanged lines hidden (view full) ---

22# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27# Authors: Lisa Hsu
28
29# system options
1# Copyright (c) 2006-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 13 unchanged lines hidden (view full) ---

22# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27# Authors: Lisa Hsu
28
29# system options
30parser.add_option("-c", "--cpu-type", type="choice", default="atomic",
30parser.add_option("--cpu-type", type="choice", default="atomic",
31 choices = ["atomic", "timing", "detailed", "inorder"],
32 help = "type of cpu to run with")
33parser.add_option("-n", "--num-cpus", type="int", default=1)
34parser.add_option("--caches", action="store_true")
35parser.add_option("--l2cache", action="store_true")
36parser.add_option("--fastmem", action="store_true")
37parser.add_option("--clock", action="store", type="string", default='2GHz')
38parser.add_option("--num-dirs", type="int", default=1)

--- 76 unchanged lines hidden ---
31 choices = ["atomic", "timing", "detailed", "inorder"],
32 help = "type of cpu to run with")
33parser.add_option("-n", "--num-cpus", type="int", default=1)
34parser.add_option("--caches", action="store_true")
35parser.add_option("--l2cache", action="store_true")
36parser.add_option("--fastmem", action="store_true")
37parser.add_option("--clock", action="store", type="string", default='2GHz')
38parser.add_option("--num-dirs", type="int", default=1)

--- 76 unchanged lines hidden ---