summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorDaniel R. Carvalho <odanrc@yahoo.com.br>2018-10-09 11:27:08 +0200
committerDaniel Carvalho <odanrc@yahoo.com.br>2018-10-09 17:25:05 +0000
commit38086692c4103f1373c06d79b09a0943935a8b2a (patch)
treefcb78b29333591ec1eb1141b9fd379df7161f423 /configs/example
parent34975af0971a58eb30e8ee6c8459ddd5af00a39b (diff)
downloadgem5-38086692c4103f1373c06d79b09a0943935a8b2a.tar.xz
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 "<string>", line 1, in <module> 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 <module> if not CpuConfig.is_atomic_cpu(TestCPUClass): NameError: name 'TestCPUClass' is not defined Change-Id: Ideede8c96a40ee16af733c3d57b02b64f1a18d12 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/13267 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/se.py2
1 files changed, 1 insertions, 1 deletions
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")