diff options
author | Gabe Black <gabeblack@google.com> | 2019-10-09 22:29:36 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-10-17 22:00:16 +0000 |
commit | e86ad367b7cd7ef863542f3848d9233133fbddd9 (patch) | |
tree | ad96604f540ffc6830c0bca17f197ce80fa3c328 /src/cpu/BaseCPU.py | |
parent | e04e976e22be76e13eacd45b33f71eb85cefd81e (diff) | |
download | gem5-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/BaseCPU.py')
-rw-r--r-- | src/cpu/BaseCPU.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cpu/BaseCPU.py b/src/cpu/BaseCPU.py index 0e8c28917..85e37776e 100644 --- a/src/cpu/BaseCPU.py +++ b/src/cpu/BaseCPU.py @@ -122,7 +122,6 @@ class BaseCPU(ClockedObject): PyBindMethod("flushTLBs"), PyBindMethod("totalInsts"), PyBindMethod("scheduleInstStop"), - PyBindMethod("scheduleLoadStop"), PyBindMethod("getCurrentInstCount"), ] @@ -196,10 +195,6 @@ class BaseCPU(ClockedObject): "terminate when any thread reaches this inst count") simpoint_start_insts = VectorParam.Counter([], "starting instruction counts of simpoints") - max_loads_all_threads = Param.Counter(0, - "terminate when all threads have reached this load count") - max_loads_any_thread = Param.Counter(0, - "terminate when any thread reaches this load count") progress_interval = Param.Frequency('0Hz', "frequency to print out the progress message") |