Options.py (9151:a4faa7dde56c) Options.py (9197:0281650db548)
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

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

51 parser.add_option("--l2_size", type="string", default="2MB")
52 parser.add_option("--l3_size", type="string", default="16MB")
53 parser.add_option("--l1d_assoc", type="int", default=2)
54 parser.add_option("--l1i_assoc", type="int", default=2)
55 parser.add_option("--l2_assoc", type="int", default=8)
56 parser.add_option("--l3_assoc", type="int", default=16)
57 parser.add_option("--cacheline_size", type="int", default=64)
58 parser.add_option("--ruby", action="store_true")
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

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

51 parser.add_option("--l2_size", type="string", default="2MB")
52 parser.add_option("--l3_size", type="string", default="16MB")
53 parser.add_option("--l1d_assoc", type="int", default=2)
54 parser.add_option("--l1i_assoc", type="int", default=2)
55 parser.add_option("--l2_assoc", type="int", default=8)
56 parser.add_option("--l3_assoc", type="int", default=16)
57 parser.add_option("--cacheline_size", type="int", default=64)
58 parser.add_option("--ruby", action="store_true")
59 parser.add_option("--smt", action="store_true", default=False,
60 help = """
61 Only used if multiple programs are specified. If true,
62 then the number of threads per cpu is same as the
63 number of programs.""")
59
60 # Run duration options
61 parser.add_option("-m", "--maxtick", type="int", default=m5.MaxTick,
62 metavar="T", help="Stop after T ticks")
63 parser.add_option("--maxtime", type="float")
64 parser.add_option("-I", "--maxinsts", action="store", type="int",
65 default=None, help="""Total number of instructions to
66 simulate (default: run forever)""")

--- 116 unchanged lines hidden ---
64
65 # Run duration options
66 parser.add_option("-m", "--maxtick", type="int", default=m5.MaxTick,
67 metavar="T", help="Stop after T ticks")
68 parser.add_option("--maxtime", type="float")
69 parser.add_option("-I", "--maxinsts", action="store", type="int",
70 default=None, help="""Total number of instructions to
71 simulate (default: run forever)""")

--- 116 unchanged lines hidden ---