summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDam Sunwoo <dam.sunwoo@arm.com>2014-09-20 17:17:43 -0400
committerDam Sunwoo <dam.sunwoo@arm.com>2014-09-20 17:17:43 -0400
commitca3513d63038e562782cd193c00c3892a276bb5d (patch)
treec8f92b165105989fdb9b9b75d594880157da541f /configs
parent7329c0e20ba2c78f57dd53e90246ccbe3efa158d (diff)
downloadgem5-ca3513d63038e562782cd193c00c3892a276bb5d.tar.xz
cpu: use probes infrastructure to do simpoint profiling
Instead of having code embedded in cpu model to do simpoint profiling use the probes infrastructure to do it.
Diffstat (limited to 'configs')
-rw-r--r--configs/example/se.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/configs/example/se.py b/configs/example/se.py
index ad15e14b5..8ec90599b 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -213,8 +213,7 @@ for i in xrange(np):
system.cpu[i].fastmem = True
if options.simpoint_profile:
- system.cpu[i].simpoint_profile = True
- system.cpu[i].simpoint_interval = options.simpoint_interval
+ system.cpu[i].addSimPointProbe(options.simpoint_interval)
if options.checker:
system.cpu[i].addCheckerCpu()