Deleted Added
sdiff udiff text old ( 9148:a7a72f42919e ) new ( 9232:3bb99fab80d4 )
full compact
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 174 unchanged lines hidden (view full) ---

183 numa_bit = dir_bits + 5
184 else:
185 numa_bit = 6
186
187 for dir_cntrl in dir_cntrls:
188 total_mem_size.value += dir_cntrl.directory.size.value
189 dir_cntrl.directory.numa_high_bit = numa_bit
190
191 phys_mem_size = sum(map(lambda mem: mem.range.size(),
192 system.memories.unproxy(system)))
193 assert(total_mem_size.value == phys_mem_size)
194
195 ruby_profiler = RubyProfiler(ruby_system = ruby,
196 num_of_sequencers = len(cpu_sequencers))
197 ruby.network = network
198 ruby.profiler = ruby_profiler
199 ruby.mem_size = total_mem_size
200 ruby._cpu_ruby_ports = cpu_sequencers
201 ruby.random_seed = options.random_seed