cpu: Get rid of the serviceInstCountEvents method.
authorGabe Black <gabeblack@google.com>
Mon, 14 Oct 2019 22:59:42 +0000 (15:59 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 25 Oct 2019 22:42:31 +0000 (22:42 +0000)
commit44831fabfb74993a2222a67f55c9f21d7843cbdb
tree9ffb5e8e452dfcdf0536f46999c1cf4e35dd2dd1
parentbdfeefa4a8de4b553fbc41d359449abe87b3c5ba
cpu: Get rid of the serviceInstCountEvents method.

This was useful when transitioning away from the CPU based
comInstEventQueue, but now that objects backing the ThreadContexts have
access to the underlying comInstEventQueue and can manipulate it
directly, they don't need to do so through a generic interface.

Getting rid of this function narrows and simplifies the interface.

Change-Id: I202d466d266551675ef6792d38c658d8a8f1cb8b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22113
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/fastmodel/iris/thread_context.hh
src/cpu/checker/thread_context.hh
src/cpu/kvm/base.cc
src/cpu/minor/execute.cc
src/cpu/o3/cpu.cc
src/cpu/o3/thread_context.hh
src/cpu/simple/base.cc
src/cpu/simple_thread.hh
src/cpu/thread_context.hh