Options.py (9665:6dbdeee787cc) | Options.py (9736:20ae86ebd4c2) |
---|---|
1# Copyright (c) 2013 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 122 unchanged lines hidden (view full) --- 131 help="take a checkpoint at end of run") 132 parser.add_option("--work-begin-checkpoint-count", action="store", type="int", 133 help="checkpoint at specified work begin count") 134 parser.add_option("--work-end-checkpoint-count", action="store", type="int", 135 help="checkpoint at specified work end count") 136 parser.add_option("--work-cpus-checkpoint-count", action="store", type="int", 137 help="checkpoint and exit when active cpu count is reached") 138 parser.add_option("--restore-with-cpu", action="store", type="choice", | 1# Copyright (c) 2013 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 122 unchanged lines hidden (view full) --- 131 help="take a checkpoint at end of run") 132 parser.add_option("--work-begin-checkpoint-count", action="store", type="int", 133 help="checkpoint at specified work begin count") 134 parser.add_option("--work-end-checkpoint-count", action="store", type="int", 135 help="checkpoint at specified work end count") 136 parser.add_option("--work-cpus-checkpoint-count", action="store", type="int", 137 help="checkpoint and exit when active cpu count is reached") 138 parser.add_option("--restore-with-cpu", action="store", type="choice", |
139 default="atomic", choices = ["atomic", "timing", 140 "detailed", "inorder"], | 139 default="atomic", choices=CpuConfig.cpu_names(), |
141 help = "cpu type for restoring from a checkpoint") 142 143 144 # CPU Switching - default switch model goes from a checkpoint 145 # to a timing simple CPU with caches to warm up, then to detailed CPU for 146 # data measurement 147 parser.add_option("--repeat-switch", action="store", type="int", 148 default=None, --- 77 unchanged lines hidden --- | 140 help = "cpu type for restoring from a checkpoint") 141 142 143 # CPU Switching - default switch model goes from a checkpoint 144 # to a timing simple CPU with caches to warm up, then to detailed CPU for 145 # data measurement 146 parser.add_option("--repeat-switch", action="store", type="int", 147 default=None, --- 77 unchanged lines hidden --- |