From a35283ac65f956a88c796972c77f0ac5d9d8a180 Mon Sep 17 00:00:00 2001 From: Nikos Nikoleris Date: Tue, 20 Jan 2015 14:15:27 -0600 Subject: cpu: commit probe notification on every microop or macroop The ppCommit should notify the attached listener every time the cpu commits a microop or non microcoded insturction. The listener can then decide whether it will process only the last microop (eg. SimPoint probe). Committed by: Nilay Vaish --- src/cpu/simple/probes/simpoint.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cpu/simple/probes/simpoint.cc') diff --git a/src/cpu/simple/probes/simpoint.cc b/src/cpu/simple/probes/simpoint.cc index f2c0be62b..2de3cd420 100644 --- a/src/cpu/simple/probes/simpoint.cc +++ b/src/cpu/simple/probes/simpoint.cc @@ -79,6 +79,9 @@ SimPoint::profile(const std::pair& p) SimpleThread* thread = p.first; const StaticInstPtr &inst = p.second; + if (inst->isMicroop() && !inst->isLastMicroop()) + return; + if (!currentBBVInstCount) currentBBV.first = thread->pcState().instAddr(); -- cgit v1.2.3