summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2011-06-30 19:54:02 -0500
committerBrad Beckmann <Brad.Beckmann@amd.com>2011-06-30 19:54:02 -0500
commit0b7b3766af8acf44cad99ddf62c6de927838016c (patch)
treed5f97d0e4d02221e34d007f97b9a6adaf81e134f
parentc86f849d5a1da1fc77f2fca43b82cb6760f68bc9 (diff)
downloadgem5-0b7b3766af8acf44cad99ddf62c6de927838016c.tar.xz
config: removed unnecessary slashes
This patch removes unnecessary slashes from a couple of python scripts.
-rw-r--r--configs/example/ruby_mem_test.py24
-rw-r--r--configs/example/ruby_network_test.py12
2 files changed, 18 insertions, 18 deletions
diff --git a/configs/example/ruby_mem_test.py b/configs/example/ruby_mem_test.py
index 684aeffcc..6b1a46776 100644
--- a/configs/example/ruby_mem_test.py
+++ b/configs/example/ruby_mem_test.py
@@ -96,12 +96,12 @@ if options.num_cpus > block_size:
#
# Currently ruby does not support atomic or uncacheable accesses
#
-cpus = [ MemTest(atomic = False, \
- max_loads = options.maxloads, \
- issue_dmas = False, \
- percent_functional = options.functional, \
- percent_uncacheable = 0, \
- progress_interval = options.progress, \
+cpus = [ MemTest(atomic = False,
+ max_loads = options.maxloads,
+ issue_dmas = False,
+ percent_functional = options.functional,
+ percent_uncacheable = 0,
+ progress_interval = options.progress,
suppress_func_warnings = options.suppress_func_warnings) \
for i in xrange(options.num_cpus) ]
@@ -110,12 +110,12 @@ system = System(cpu = cpus,
physmem = PhysicalMemory())
if options.num_dmas > 0:
- dmas = [ MemTest(atomic = False, \
- max_loads = options.maxloads, \
- issue_dmas = True, \
- percent_functional = 0, \
- percent_uncacheable = 0, \
- progress_interval = options.progress, \
+ dmas = [ MemTest(atomic = False,
+ max_loads = options.maxloads,
+ issue_dmas = True,
+ percent_functional = 0,
+ percent_uncacheable = 0,
+ progress_interval = options.progress,
warn_on_failure = options.warn_on_failure) \
for i in xrange(options.num_dmas) ]
system.dma_devices = dmas
diff --git a/configs/example/ruby_network_test.py b/configs/example/ruby_network_test.py
index d15206163..cd221ec7e 100644
--- a/configs/example/ruby_network_test.py
+++ b/configs/example/ruby_network_test.py
@@ -92,12 +92,12 @@ if options.num_cpus > block_size:
sys.exit(1)
-cpus = [ NetworkTest(fixed_pkts=options.fixed_pkts, \
- max_packets=options.maxpackets, \
- sim_cycles=options.sim_cycles, \
- traffic_type=options.synthetic, \
- inj_rate=options.injectionrate, \
- precision=options.precision, \
+cpus = [ NetworkTest(fixed_pkts=options.fixed_pkts,
+ max_packets=options.maxpackets,
+ sim_cycles=options.sim_cycles,
+ traffic_type=options.synthetic,
+ inj_rate=options.injectionrate,
+ precision=options.precision,
num_memories=options.num_dirs) \
for i in xrange(options.num_cpus) ]