From 582a0148b441fe9f4a6f977094c5ce6bf7ab6313 Mon Sep 17 00:00:00 2001 From: Mitch Hayenga Date: Wed, 30 Sep 2015 11:14:19 -0500 Subject: config,cpu: Add SMT support to Atomic and Timing CPUs Adds SMT support to the "simple" CPU models so that they can be used with other SMT-supported CPUs. Example usage: this enables the TimingSimpleCPU to be used to warmup caches before swapping to detailed mode with the in-order or out-of-order based CPU models. --- tests/quick/se/01.hello-2T-smt/test.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/quick/se') diff --git a/tests/quick/se/01.hello-2T-smt/test.py b/tests/quick/se/01.hello-2T-smt/test.py index 885de10f3..7a8fbe0bd 100644 --- a/tests/quick/se/01.hello-2T-smt/test.py +++ b/tests/quick/se/01.hello-2T-smt/test.py @@ -29,5 +29,6 @@ process1 = LiveProcess(cmd = 'hello', executable = binpath('hello')) process2 = LiveProcess(cmd = 'hello', executable = binpath('hello')) +root.system.multi_thread = True root.system.cpu[0].workload = [process1, process2] root.system.cpu[0].numThreads = 2 -- cgit v1.2.3