diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-06-27 05:49:49 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-06-27 05:49:49 -0400 |
commit | 4de3205afaac1fd11876b33675aa6f49c9632764 (patch) | |
tree | ff510cdaafefa5f7e27bc0b21c6fbd447564a1d9 /tests/quick/se/01.hello-2T-smt/test.py | |
parent | 597d2aa3a661587268e3d79cf4726212329fb4af (diff) | |
download | gem5-4de3205afaac1fd11876b33675aa6f49c9632764.tar.xz |
config: Add a BaseSESystem builder for re-use in regressions
This patch extends the existing system builders to also include a
syscall-emulation builder. This builder is deployed in all
syscall-emulation regressions that do not involve Ruby,
i.e. o3-timing, simple-timing and simple-atomic, as well as the
multi-processor regressions o3-timing-mp, simple-timing-mp and
simple-atomic-mp (the latter are only used by SPARC at this point).
The values chosen for the cache sizes match those that were used in
the existing config scripts (despite being on the large
side). Similarly, a mem_class parameter is added to the builder base
class to enable simple-atomic to use SimpleMemory and o3-timing to use
the default DDR3 configuration.
Due to the different order the ports are connected, the bus stats get
shuffled around for the multi-processor regressions. A separate patch
bumps the port indices. Besides this, all behaviour is exactly the
same.
Diffstat (limited to 'tests/quick/se/01.hello-2T-smt/test.py')
-rw-r--r-- | tests/quick/se/01.hello-2T-smt/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/quick/se/01.hello-2T-smt/test.py b/tests/quick/se/01.hello-2T-smt/test.py index 2db81da93..885de10f3 100644 --- a/tests/quick/se/01.hello-2T-smt/test.py +++ b/tests/quick/se/01.hello-2T-smt/test.py @@ -29,5 +29,5 @@ process1 = LiveProcess(cmd = 'hello', executable = binpath('hello')) process2 = LiveProcess(cmd = 'hello', executable = binpath('hello')) -root.system.cpu.workload = [process1, process2] -root.system.cpu.numThreads = 2 +root.system.cpu[0].workload = [process1, process2] +root.system.cpu[0].numThreads = 2 |