Options.py (5869:acbe11bbfe68) Options.py (6144:e330f7bc22ef)
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

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

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")
40parser.add_option("--maxtime", type="float")
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

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

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")
40parser.add_option("--maxtime", type="float")
41parser.add_option("--prog_intvl", type="int")
41
42
43
42# Checkpointing options
43###Note that performing checkpointing via python script files will override
44###checkpoint instructions built into binaries.
45parser.add_option("--take-checkpoints", action="store", type="string",
46 help="<M,N> will take checkpoint at cycle M and every N cycles thereafter")
47parser.add_option("--max-checkpoints", action="store", type="int",
48 help="the maximum number of checkpoints to drop", default=5)
49parser.add_option("--checkpoint-dir", action="store", type="string",

--- 30 unchanged lines hidden ---
44# Checkpointing options
45###Note that performing checkpointing via python script files will override
46###checkpoint instructions built into binaries.
47parser.add_option("--take-checkpoints", action="store", type="string",
48 help="<M,N> will take checkpoint at cycle M and every N cycles thereafter")
49parser.add_option("--max-checkpoints", action="store", type="int",
50 help="the maximum number of checkpoints to drop", default=5)
51parser.add_option("--checkpoint-dir", action="store", type="string",

--- 30 unchanged lines hidden ---