From 407f37e15f19a2da350a94272ac7739891e935f4 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 10 Jan 2014 16:19:47 -0600 Subject: ruby: move all statistics to stats.txt, eliminate ruby.stats --- configs/ruby/Ruby.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'configs/ruby') diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index f8ca59734..c74e887a8 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -100,8 +100,7 @@ def create_topology(controllers, options): def create_system(options, system, piobus = None, dma_ports = []): - system.ruby = RubySystem(stats_filename = options.ruby_stats, - no_mem_vec = options.use_map) + system.ruby = RubySystem(no_mem_vec = options.use_map) ruby = system.ruby protocol = buildEnv['PROTOCOL'] @@ -186,10 +185,8 @@ def create_system(options, system, piobus = None, dma_ports = []): phys_mem_size = sum(map(lambda r: r.size(), system.mem_ranges)) assert(total_mem_size.value == phys_mem_size) - ruby_profiler = RubyProfiler(ruby_system = ruby, - num_of_sequencers = len(cpu_sequencers)) ruby.network = network - ruby.profiler = ruby_profiler ruby.mem_size = total_mem_size ruby._cpu_ruby_ports = cpu_sequencers + ruby.num_of_sequencers = len(cpu_sequencers) ruby.random_seed = options.random_seed -- cgit v1.2.3