summaryrefslogtreecommitdiff
path: root/src/cpu/simple
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-10-09 22:29:36 -0700
committerGabe Black <gabeblack@google.com>2019-10-17 22:00:16 +0000
commite86ad367b7cd7ef863542f3848d9233133fbddd9 (patch)
treead96604f540ffc6830c0bca17f197ce80fa3c328 /src/cpu/simple
parente04e976e22be76e13eacd45b33f71eb85cefd81e (diff)
downloadgem5-e86ad367b7cd7ef863542f3848d9233133fbddd9.tar.xz
cpu: Get rid of load count based events.
This was initially added in 2003 and only supported in the simple CPUs. It's oddly specific since there are no other similar event queues for, for instance, stores, branches, system calls, etc. Given that this seems like a historical oddity which is only partially supported and would be very hard to support on more diverse CPU types like KVM or fast model which don't generally have hooks for counts of specific instruction types. Change-Id: I29209b7ffcf896cf424b71545c9c7546f439e2b9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21780 Reviewed-by: Brandon Potter <Brandon.Potter@amd.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/cpu/simple')
-rw-r--r--src/cpu/simple/base.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index b93ae0912..461f00fca 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -600,7 +600,6 @@ BaseSimpleCPU::postExecute()
if (curStaticInst->isLoad()) {
++t_info.numLoad;
- comLoadEventQueue[curThread]->serviceEvents(t_info.numLoad);
}
if (CPA::available()) {