From 38086692c4103f1373c06d79b09a0943935a8b2a Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Tue, 9 Oct 2018 11:27:08 +0200 Subject: configs: Fix CPUClass typo in se.py Change 719eb033fe435133abf15501c249eec10d1c861f added a typo to se.py that breaks simpoint simulation, which generates the following error: Traceback (most recent call last): File "", line 1, in File "/home/daniel/gem5/src/python/m5/main.py", line 435, in main exec filecode in scope File "./configs/example/se.py", line 217, in if not CpuConfig.is_atomic_cpu(TestCPUClass): NameError: name 'TestCPUClass' is not defined Change-Id: Ideede8c96a40ee16af733c3d57b02b64f1a18d12 Signed-off-by: Daniel R. Carvalho Reviewed-on: https://gem5-review.googlesource.com/c/13267 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- configs/example/se.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/example/se.py b/configs/example/se.py index 804ef02c5..f12d4a994 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -214,7 +214,7 @@ if CpuConfig.is_kvm_cpu(CPUClass) or CpuConfig.is_kvm_cpu(FutureClass): # Sanity check if options.simpoint_profile: - if not CpuConfig.is_atomic_cpu(TestCPUClass): + if not CpuConfig.is_atomic_cpu(CPUClass): fatal("SimPoint/BPProbe should be done with an atomic cpu") if np > 1: fatal("SimPoint generation not supported with more than one CPUs") -- cgit v1.2.3