ruby: Added clock to ruby system

As a first step to migrate ruby to the M5 eventqueue, added a clock
variable to the ruby system.
This commit is contained in:
Brad Beckmann
2010-01-29 20:29:19 -08:00
parent ed81489954
commit 12daaed84a
6 changed files with 13 additions and 12 deletions

View File

@@ -158,7 +158,8 @@ network = SimpleNetwork(topology = makeCrossbar(l1_cntrl_nodes + \
mem_size_mb = sum([int(dir_cntrl.directory.size_mb) \
for dir_cntrl in dir_cntrl_nodes])
system.ruby = RubySystem(network = network,
system.ruby = RubySystem(clock = '1GHz',
network = network,
profiler = RubyProfiler(),
tracer = RubyTracer(),
debug = RubyDebug(),