From 0b7b3766af8acf44cad99ddf62c6de927838016c Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Thu, 30 Jun 2011 19:54:02 -0500 Subject: [PATCH] config: removed unnecessary slashes This patch removes unnecessary slashes from a couple of python scripts. --- configs/example/ruby_mem_test.py | 24 ++++++++++++------------ configs/example/ruby_network_test.py | 12 ++++++------ 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) ] -- 2.30.2