From ca3513d63038e562782cd193c00c3892a276bb5d Mon Sep 17 00:00:00 2001 From: Dam Sunwoo Date: Sat, 20 Sep 2014 17:17:43 -0400 Subject: 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. --- configs/example/se.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configs/example') 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() -- cgit v1.2.3