Options.py (6776:463aab78c057) Options.py (6892:6a2db6c8a9b1)
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

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

31parser.add_option("-t", "--timing", action="store_true")
32parser.add_option("--inorder", action="store_true")
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")
37
38# Run duration 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

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

31parser.add_option("-t", "--timing", action="store_true")
32parser.add_option("--inorder", action="store_true")
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")
37
38# Run duration options
39parser.add_option("-m", "--maxtick", type="int")
39parser.add_option("-m", "--maxtick", type="int", default=m5.MaxTick,
40 metavar="T",
41 help="Stop after T ticks")
40parser.add_option("--maxtime", type="float")
41parser.add_option("--maxinsts", type="int")
42parser.add_option("--prog_intvl", type="int")
43
44
45# Checkpointing options
46###Note that performing checkpointing via python script files will override
47###checkpoint instructions built into binaries.

--- 39 unchanged lines hidden ---
42parser.add_option("--maxtime", type="float")
43parser.add_option("--maxinsts", type="int")
44parser.add_option("--prog_intvl", type="int")
45
46
47# Checkpointing options
48###Note that performing checkpointing via python script files will override
49###checkpoint instructions built into binaries.

--- 39 unchanged lines hidden ---