Options.py (3410:ef75e2c78b2d) Options.py (3445:5c5f90f5506c)
1# Copyright (c) 2006 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

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

48parser.add_option("--checkpoint_dir", action="store", type="string",
49 help="Place all checkpoints in this absolute directory")
50parser.add_option("-r", "--checkpoint_restore", action="store", type="int",
51 help="restore from checkpoint <N>")
52
53# CPU Switching - default switch model goes from a checkpoint
54# to a timing simple CPU with caches to warm up, then to detailed CPU for
55# data measurement
1# Copyright (c) 2006 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

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

48parser.add_option("--checkpoint_dir", action="store", type="string",
49 help="Place all checkpoints in this absolute directory")
50parser.add_option("-r", "--checkpoint_restore", action="store", type="int",
51 help="restore from checkpoint <N>")
52
53# CPU Switching - default switch model goes from a checkpoint
54# to a timing simple CPU with caches to warm up, then to detailed CPU for
55# data measurement
56parser.add_option("-s", "--standard_switch", action="store", type="int",
57 help="switch from timing CPU to Detailed CPU after a period of \
58 <N> cycles warmup", default=5000000000)
56parser.add_option("-s", "--standard_switch", action="store_true",
57 help="switch from timing CPU to Detailed CPU")
58parser.add_option("-w", "--warmup", action="store", type="int",
59 help="if -s, then this is the warmup period. else, this is ignored",
60 default=5000000000)