Options.py (9197:0281650db548) | Options.py (9357:94383c5124d2) |
---|---|
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 --- 71 unchanged lines hidden (view full) --- 80 parser.add_option("--init-param", action="store", type="int", default=0, 81 help="""Parameter available in simulation with m5 82 initparam""") 83 84 # Checkpointing options 85 ###Note that performing checkpointing via python script files will override 86 ###checkpoint instructions built into binaries. 87 parser.add_option("--take-checkpoints", action="store", type="string", | 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 --- 71 unchanged lines hidden (view full) --- 80 parser.add_option("--init-param", action="store", type="int", default=0, 81 help="""Parameter available in simulation with m5 82 initparam""") 83 84 # Checkpointing options 85 ###Note that performing checkpointing via python script files will override 86 ###checkpoint instructions built into binaries. 87 parser.add_option("--take-checkpoints", action="store", type="string", |
88 help="<M,N> will take checkpoint at cycle M and every N cycles thereafter") | 88 help="<M,N> take checkpoints at tick M and every N ticks thereafter") |
89 parser.add_option("--max-checkpoints", action="store", type="int", 90 help="the maximum number of checkpoints to drop", default=5) 91 parser.add_option("--checkpoint-dir", action="store", type="string", 92 help="Place all checkpoints in this absolute directory") 93 parser.add_option("-r", "--checkpoint-restore", action="store", type="int", 94 help="restore from checkpoint <N>") 95 parser.add_option("--checkpoint-at-end", action="store_true", 96 help="take a checkpoint at end of run") --- 91 unchanged lines hidden --- | 89 parser.add_option("--max-checkpoints", action="store", type="int", 90 help="the maximum number of checkpoints to drop", default=5) 91 parser.add_option("--checkpoint-dir", action="store", type="string", 92 help="Place all checkpoints in this absolute directory") 93 parser.add_option("-r", "--checkpoint-restore", action="store", type="int", 94 help="restore from checkpoint <N>") 95 parser.add_option("--checkpoint-at-end", action="store_true", 96 help="take a checkpoint at end of run") --- 91 unchanged lines hidden --- |