diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:21 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:21 -0800 |
commit | cfe41d0a1bc3b778995cd1b22f8d58037300143b (patch) | |
tree | 93b720fd86a6a9a79dc4dc2632ff95fd5c0fa0c3 /configs/ruby | |
parent | 1907e39fd2c30ead9589f0bb6995972cbd0e153f (diff) | |
download | gem5-cfe41d0a1bc3b778995cd1b22f8d58037300143b.tar.xz |
ruby: Removed RubySystem::getNumberOfSequencers
removed the static function RubySystem::getNumberOfSequencers and replaced
it with a python config variable
Diffstat (limited to 'configs/ruby')
-rw-r--r-- | configs/ruby/Ruby.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |