Options.py (11291:9d2364203316) | Options.py (11626:c89c72b0e5f5) |
---|---|
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 --- 128 unchanged lines hidden (view full) --- 137 parser.add_option("--l2_size", type="string", default="2MB") 138 parser.add_option("--l3_size", type="string", default="16MB") 139 parser.add_option("--l1d_assoc", type="int", default=2) 140 parser.add_option("--l1i_assoc", type="int", default=2) 141 parser.add_option("--l2_assoc", type="int", default=8) 142 parser.add_option("--l3_assoc", type="int", default=16) 143 parser.add_option("--cacheline_size", type="int", default=64) 144 | 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 --- 128 unchanged lines hidden (view full) --- 137 parser.add_option("--l2_size", type="string", default="2MB") 138 parser.add_option("--l3_size", type="string", default="16MB") 139 parser.add_option("--l1d_assoc", type="int", default=2) 140 parser.add_option("--l1i_assoc", type="int", default=2) 141 parser.add_option("--l2_assoc", type="int", default=8) 142 parser.add_option("--l3_assoc", type="int", default=16) 143 parser.add_option("--cacheline_size", type="int", default=64) 144 |
145 # dist-gem5 options 146 parser.add_option("--dist", action="store_true", 147 help="Parallel distributed gem5 simulation.") 148 parser.add_option("--is-switch", action="store_true", 149 help="Select the network switch simulator process for a"\ 150 "distributed gem5 run") 151 parser.add_option("--dist-rank", default=0, action="store", type="int", 152 help="Rank of this system within the dist gem5 run.") 153 parser.add_option("--dist-size", default=0, action="store", type="int", 154 help="Number of gem5 processes within the dist gem5 run.") 155 parser.add_option("--dist-server-name", 156 default="127.0.0.1", 157 action="store", type="string", 158 help="Name of the message server host\nDEFAULT: localhost") 159 parser.add_option("--dist-server-port", 160 default=2200, 161 action="store", type="int", 162 help="Message server listen port\nDEFAULT: 2200") 163 parser.add_option("--dist-sync-repeat", 164 default="0us", 165 action="store", type="string", 166 help="Repeat interval for synchronisation barriers among dist-gem5 processes\nDEFAULT: --ethernet-linkdelay") 167 parser.add_option("--dist-sync-start", 168 default="5200000000000t", 169 action="store", type="string", 170 help="Time to schedule the first dist synchronisation barrier\nDEFAULT:5200000000000t") 171 parser.add_option("--ethernet-linkspeed", default="10Gbps", 172 action="store", type="string", 173 help="Link speed in bps\nDEFAULT: 10Gbps") 174 parser.add_option("--ethernet-linkdelay", default="10us", 175 action="store", type="string", 176 help="Link delay in seconds\nDEFAULT: 10us") 177 |
|
145 # Enable Ruby 146 parser.add_option("--ruby", action="store_true") 147 148 # Run duration options 149 parser.add_option("-m", "--abs-max-tick", type="int", default=m5.MaxTick, 150 metavar="TICKS", help="Run to absolute simulated tick " \ 151 "specified including ticks from a restored checkpoint") 152 parser.add_option("--rel-max-tick", type="int", default=None, --- 139 unchanged lines hidden (view full) --- 292 "enabled kernels") 293 parser.add_option("--enable-context-switch-stats-dump", \ 294 action="store_true", help="Enable stats dump at context "\ 295 "switches and dump tasks file (required for Streamline)") 296 297 # Benchmark options 298 parser.add_option("--dual", action="store_true", 299 help="Simulate two systems attached with an ethernet link") | 178 # Enable Ruby 179 parser.add_option("--ruby", action="store_true") 180 181 # Run duration options 182 parser.add_option("-m", "--abs-max-tick", type="int", default=m5.MaxTick, 183 metavar="TICKS", help="Run to absolute simulated tick " \ 184 "specified including ticks from a restored checkpoint") 185 parser.add_option("--rel-max-tick", type="int", default=None, --- 139 unchanged lines hidden (view full) --- 325 "enabled kernels") 326 parser.add_option("--enable-context-switch-stats-dump", \ 327 action="store_true", help="Enable stats dump at context "\ 328 "switches and dump tasks file (required for Streamline)") 329 330 # Benchmark options 331 parser.add_option("--dual", action="store_true", 332 help="Simulate two systems attached with an ethernet link") |
300 parser.add_option("--dist", action="store_true", 301 help="Parallel distributed gem5 simulation.") 302 parser.add_option("--is-switch", action="store_true", 303 help="Select the network switch simulator process for a"\ 304 "distributed gem5 run") 305 parser.add_option("--dist-rank", default=0, action="store", type="int", 306 help="Rank of this system within the dist gem5 run.") 307 parser.add_option("--dist-size", default=0, action="store", type="int", 308 help="Number of gem5 processes within the dist gem5 run.") 309 parser.add_option("--dist-server-name", 310 default="127.0.0.1", 311 action="store", type="string", 312 help="Name of the message server host\nDEFAULT: localhost") 313 parser.add_option("--dist-server-port", 314 default=2200, 315 action="store", type="int", 316 help="Message server listen port\nDEFAULT: 2200") 317 parser.add_option("--dist-sync-repeat", 318 default="0us", 319 action="store", type="string", 320 help="Repeat interval for synchronisation barriers among dist-gem5 processes\nDEFAULT: --ethernet-linkdelay") 321 parser.add_option("--dist-sync-start", 322 default="5200000000000t", 323 action="store", type="string", 324 help="Time to schedule the first dist synchronisation barrier\nDEFAULT:5200000000000t") | |
325 parser.add_option("-b", "--benchmark", action="store", type="string", 326 dest="benchmark", 327 help="Specify the benchmark to run. Available benchmarks: %s"\ 328 % DefinedBenchmarks) | 333 parser.add_option("-b", "--benchmark", action="store", type="string", 334 dest="benchmark", 335 help="Specify the benchmark to run. Available benchmarks: %s"\ 336 % DefinedBenchmarks) |
329 parser.add_option("--ethernet-linkspeed", default="10Gbps", 330 action="store", type="string", 331 help="Link speed in bps\nDEFAULT: 10Gbps") 332 parser.add_option("--ethernet-linkdelay", default="10us", 333 action="store", type="string", 334 help="Link delay in seconds\nDEFAULT: 10us") | |
335 336 # Metafile options 337 parser.add_option("--etherdump", action="store", type="string", dest="etherdump", 338 help="Specify the filename to dump a pcap capture of the" \ 339 "ethernet traffic") 340 341 # Disk Image Options 342 parser.add_option("--disk-image", action="store", type="string", default=None, 343 help="Path to the disk image to use.") 344 parser.add_option("--root-device", action="store", type="string", default=None, 345 help="OS device name for root partition") 346 347 # Command line options 348 parser.add_option("--command-line", action="store", type="string", 349 default=None, 350 help="Template for the kernel command line.") 351 parser.add_option("--command-line-file", action="store", 352 default=None, type="string", 353 help="File with a template for the kernel command line") | 337 338 # Metafile options 339 parser.add_option("--etherdump", action="store", type="string", dest="etherdump", 340 help="Specify the filename to dump a pcap capture of the" \ 341 "ethernet traffic") 342 343 # Disk Image Options 344 parser.add_option("--disk-image", action="store", type="string", default=None, 345 help="Path to the disk image to use.") 346 parser.add_option("--root-device", action="store", type="string", default=None, 347 help="OS device name for root partition") 348 349 # Command line options 350 parser.add_option("--command-line", action="store", type="string", 351 default=None, 352 help="Template for the kernel command line.") 353 parser.add_option("--command-line-file", action="store", 354 default=None, type="string", 355 help="File with a template for the kernel command line") |