Options.py (11251:a15c86af004a) Options.py (11291:9d2364203316)
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

--- 283 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")
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

--- 283 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")
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")
300 parser.add_option("-b", "--benchmark", action="store", type="string",
301 dest="benchmark",
302 help="Specify the benchmark to run. Available benchmarks: %s"\
303 % DefinedBenchmarks)
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)
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")
304
305 # Metafile options
306 parser.add_option("--etherdump", action="store", type="string", dest="etherdump",
307 help="Specify the filename to dump a pcap capture of the" \
308 "ethernet traffic")
309
310 # Disk Image Options
311 parser.add_option("--disk-image", action="store", type="string", default=None,
312 help="Path to the disk image to use.")
313 parser.add_option("--root-device", action="store", type="string", default=None,
314 help="OS device name for root partition")
315
316 # Command line options
317 parser.add_option("--command-line", action="store", type="string",
318 default=None,
319 help="Template for the kernel command line.")
320 parser.add_option("--command-line-file", action="store",
321 default=None, type="string",
322 help="File with a template for the kernel command line")
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")