Options.py (6769:630a3d0b7eb7) Options.py (6776:463aab78c057)
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

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

48parser.add_option("--take-checkpoints", action="store", type="string",
49 help="<M,N> will take checkpoint at cycle M and every N cycles thereafter")
50parser.add_option("--max-checkpoints", action="store", type="int",
51 help="the maximum number of checkpoints to drop", default=5)
52parser.add_option("--checkpoint-dir", action="store", type="string",
53 help="Place all checkpoints in this absolute directory")
54parser.add_option("-r", "--checkpoint-restore", action="store", type="int",
55 help="restore from checkpoint <N>")
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

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

48parser.add_option("--take-checkpoints", action="store", type="string",
49 help="<M,N> will take checkpoint at cycle M and every N cycles thereafter")
50parser.add_option("--max-checkpoints", action="store", type="int",
51 help="the maximum number of checkpoints to drop", default=5)
52parser.add_option("--checkpoint-dir", action="store", type="string",
53 help="Place all checkpoints in this absolute directory")
54parser.add_option("-r", "--checkpoint-restore", action="store", type="int",
55 help="restore from checkpoint <N>")
56parser.add_option("--checkpoint-at-end", action="store_true",
57 help="take a checkpoint at end of run")
56
58
59
57# CPU Switching - default switch model goes from a checkpoint
58# to a timing simple CPU with caches to warm up, then to detailed CPU for
59# data measurement
60parser.add_option("-s", "--standard-switch", action="store_true",
61 help="switch from timing CPU to Detailed CPU")
62parser.add_option("-w", "--warmup", action="store", type="int",
63 help="if -s, then this is the warmup period. else, this is ignored",
64 default=5000000000)

--- 19 unchanged lines hidden ---
60# CPU Switching - default switch model goes from a checkpoint
61# to a timing simple CPU with caches to warm up, then to detailed CPU for
62# data measurement
63parser.add_option("-s", "--standard-switch", action="store_true",
64 help="switch from timing CPU to Detailed CPU")
65parser.add_option("-w", "--warmup", action="store", type="int",
66 help="if -s, then this is the warmup period. else, this is ignored",
67 default=5000000000)

--- 19 unchanged lines hidden ---