Options.py (9935:cc9dc514036e) | Options.py (10037:5cac77888310) |
---|---|
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 --- 80 unchanged lines hidden (view full) --- 89 choices=MemConfig.mem_names(), 90 help = "type of memory to use") 91 parser.add_option("--mem-channels", type="int", default=1, 92 help = "number of memory channels") 93 parser.add_option("--mem-size", action="store", type="string", 94 default="512MB", 95 help="Specify the physical memory size (single memory)") 96 | 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 --- 80 unchanged lines hidden (view full) --- 89 choices=MemConfig.mem_names(), 90 help = "type of memory to use") 91 parser.add_option("--mem-channels", type="int", default=1, 92 help = "number of memory channels") 93 parser.add_option("--mem-size", action="store", type="string", 94 default="512MB", 95 help="Specify the physical memory size (single memory)") 96 |
97 parser.add_option("-l", "--lpae", action="store_true") 98 parser.add_option("-V", "--virtualisation", action="store_true") 99 |
|
97 # Cache Options 98 parser.add_option("--caches", action="store_true") 99 parser.add_option("--l2cache", action="store_true") 100 parser.add_option("--fastmem", action="store_true") 101 parser.add_option("--num-dirs", type="int", default=1) 102 parser.add_option("--num-l2caches", type="int", default=1) 103 parser.add_option("--num-l3caches", type="int", default=1) 104 parser.add_option("--l1d_size", type="string", default="64kB") --- 87 unchanged lines hidden (view full) --- 192 default=None, 193 help="Number of instructions to fast forward before switching") 194 parser.add_option("-S", "--simpoint", action="store_true", default=False, 195 help="""Use workload simpoints as an instruction offset for 196 --checkpoint-restore or --take-checkpoint.""") 197 parser.add_option("--at-instruction", action="store_true", default=False, 198 help="""Treat value of --checkpoint-restore or --take-checkpoint as a 199 number of instructions.""") | 100 # Cache Options 101 parser.add_option("--caches", action="store_true") 102 parser.add_option("--l2cache", action="store_true") 103 parser.add_option("--fastmem", action="store_true") 104 parser.add_option("--num-dirs", type="int", default=1) 105 parser.add_option("--num-l2caches", type="int", default=1) 106 parser.add_option("--num-l3caches", type="int", default=1) 107 parser.add_option("--l1d_size", type="string", default="64kB") --- 87 unchanged lines hidden (view full) --- 195 default=None, 196 help="Number of instructions to fast forward before switching") 197 parser.add_option("-S", "--simpoint", action="store_true", default=False, 198 help="""Use workload simpoints as an instruction offset for 199 --checkpoint-restore or --take-checkpoint.""") 200 parser.add_option("--at-instruction", action="store_true", default=False, 201 help="""Treat value of --checkpoint-restore or --take-checkpoint as a 202 number of instructions.""") |
203 parser.add_option("--spec-input", default="ref", type="choice", 204 choices=["ref", "test", "train", "smred", "mdred", 205 "lgred"], 206 help="Input set size for SPEC CPU2000 benchmarks.") 207 parser.add_option("--arm-iset", default="arm", type="choice", 208 choices=["arm", "thumb", "aarch64"], 209 help="ARM instruction set.") |
|
200 | 210 |
211 |
|
201def addSEOptions(parser): 202 # Benchmark options 203 parser.add_option("-c", "--cmd", default="", 204 help="The binary to run in syscall emulation mode.") 205 parser.add_option("-o", "--options", default="", 206 help="""The options to pass to the binary, use " " 207 around the entire string""") 208 parser.add_option("-i", "--input", default="", --- 46 unchanged lines hidden --- | 212def addSEOptions(parser): 213 # Benchmark options 214 parser.add_option("-c", "--cmd", default="", 215 help="The binary to run in syscall emulation mode.") 216 parser.add_option("-o", "--options", default="", 217 help="""The options to pass to the binary, use " " 218 around the entire string""") 219 parser.add_option("-i", "--input", default="", --- 46 unchanged lines hidden --- |