cpu: Get rid of the nextInstEventCount method.
authorGabe Black <gabeblack@google.com>
Tue, 15 Oct 2019 00:51:15 +0000 (17:51 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 25 Oct 2019 22:42:31 +0000 (22:42 +0000)
commitea267682e6936ce1a6cfb8edd42bab8676a8a649
tree2faee3238fb7254db07d038dd71e8e1ea3a426aa
parent44831fabfb74993a2222a67f55c9f21d7843cbdb
cpu: Get rid of the nextInstEventCount method.

This was only used by the KVM CPU, and it has access to all it needs to
figure out that value locally without requiring all the ThreadContexts
to implement an equivalent function.

Change-Id: I17a14ce669db2519edf129db761ebd8dc3bd4129
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22114
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/o3/thread_context.hh
src/cpu/simple_thread.hh
src/cpu/thread_context.hh