From cfe41d0a1bc3b778995cd1b22f8d58037300143b Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Fri, 29 Jan 2010 20:29:21 -0800 Subject: ruby: Removed RubySystem::getNumberOfSequencers removed the static function RubySystem::getNumberOfSequencers and replaced it with a python config variable --- configs/ruby/Ruby.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configs/ruby') diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index 4504bda85..37c43602d 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -66,7 +66,8 @@ def create_system(options, physmem, piobus = None, dma_devices = []): ranksPerDimm = dir_cntrls[0].memBuffer.ranks_per_dimm dimmsPerChannel = dir_cntrls[0].memBuffer.dimms_per_channel - ruby_profiler = RubyProfiler(mem_cntrl_count = mcCount, + ruby_profiler = RubyProfiler(num_of_sequencers = len(cpu_sequencers), + mem_cntrl_count = mcCount, banks_per_rank = banksPerRank, ranks_per_dimm = ranksPerDimm, dimms_per_channel = dimmsPerChannel) -- cgit v1.2.3