diff options
author | Dam Sunwoo <dam.sunwoo@arm.com> | 2014-09-20 17:17:43 -0400 |
---|---|---|
committer | Dam Sunwoo <dam.sunwoo@arm.com> | 2014-09-20 17:17:43 -0400 |
commit | ca3513d63038e562782cd193c00c3892a276bb5d (patch) | |
tree | c8f92b165105989fdb9b9b75d594880157da541f /configs/example | |
parent | 7329c0e20ba2c78f57dd53e90246ccbe3efa158d (diff) | |
download | gem5-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/example')
-rw-r--r-- | configs/example/se.py | 3 |
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() |