From cc5981597573146fe32e0d2abf83b17dcbb325cb Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Sun, 27 Jan 2019 11:12:15 +0000 Subject: tests: Don't override tick rate in Ruby tests Most Ruby tests assume that the highest frequency in the system under test is 1GHz and limits the global tick rate to this frequency. This assumption is broken since the default Ruby configuration scripts clock the CPU at 2Ghz, which results in warnings and sometimes incorrect behaviour. Change-Id: I4b204660862ce3b0ea4a13df42caacd4398fef8c Signed-off-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/c/15975 Reviewed-by: Nikos Nikoleris Reviewed-by: Jason Lowe-Power --- tests/configs/gpu-randomtest-ruby.py | 3 --- tests/configs/memtest-ruby.py | 3 --- tests/configs/rubytest-ruby.py | 3 --- tests/configs/simple-timing-mp-ruby.py | 3 --- tests/configs/simple-timing-ruby.py | 3 --- 5 files changed, 15 deletions(-) (limited to 'tests') diff --git a/tests/configs/gpu-randomtest-ruby.py b/tests/configs/gpu-randomtest-ruby.py index d0a891880..3d088f4ec 100644 --- a/tests/configs/gpu-randomtest-ruby.py +++ b/tests/configs/gpu-randomtest-ruby.py @@ -140,6 +140,3 @@ for ruby_port in system.ruby._cpu_ports: root = Root(full_system = False, system = system ) root.system.mem_mode = 'timing' - -# Not much point in this being higher than the L1 latency -m5.ticks.setGlobalFrequency('1ns') diff --git a/tests/configs/memtest-ruby.py b/tests/configs/memtest-ruby.py index 8b92af45c..9cf92af63 100644 --- a/tests/configs/memtest-ruby.py +++ b/tests/configs/memtest-ruby.py @@ -116,6 +116,3 @@ for (i, ruby_port) in enumerate(system.ruby._cpu_ports): root = Root(full_system = False, system = system) root.system.mem_mode = 'timing' - -# Not much point in this being higher than the L1 latency -m5.ticks.setGlobalFrequency('1ns') diff --git a/tests/configs/rubytest-ruby.py b/tests/configs/rubytest-ruby.py index 27dc0f28c..207f28c1b 100644 --- a/tests/configs/rubytest-ruby.py +++ b/tests/configs/rubytest-ruby.py @@ -125,6 +125,3 @@ for ruby_port in system.ruby._cpu_ports: root = Root(full_system = False, system = system ) root.system.mem_mode = 'timing' - -# Not much point in this being higher than the L1 latency -m5.ticks.setGlobalFrequency('1ns') diff --git a/tests/configs/simple-timing-mp-ruby.py b/tests/configs/simple-timing-mp-ruby.py index 897e05383..248d04654 100644 --- a/tests/configs/simple-timing-mp-ruby.py +++ b/tests/configs/simple-timing-mp-ruby.py @@ -93,6 +93,3 @@ for (i, cpu) in enumerate(system.cpu): root = Root( full_system=False, system = system ) root.system.mem_mode = 'timing' - -# Not much point in this being higher than the L1 latency -m5.ticks.setGlobalFrequency('1ns') diff --git a/tests/configs/simple-timing-ruby.py b/tests/configs/simple-timing-ruby.py index e76cd3963..26ca3e9ce 100644 --- a/tests/configs/simple-timing-ruby.py +++ b/tests/configs/simple-timing-ruby.py @@ -97,6 +97,3 @@ cpu.connectAllPorts(system.ruby._cpu_ports[0]) root = Root(full_system = False, system = system) root.system.mem_mode = 'timing' - -# Not much point in this being higher than the L1 latency -m5.ticks.setGlobalFrequency('1ns') -- cgit v1.2.3