From ea267682e6936ce1a6cfb8edd42bab8676a8a649 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 14 Oct 2019 17:51:15 -0700 Subject: 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 Maintainer: Andreas Sandberg Tested-by: kokoro --- src/cpu/o3/thread_context.hh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/cpu/o3') diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh index 65496429b..c68f34c07 100644 --- a/src/cpu/o3/thread_context.hh +++ b/src/cpu/o3/thread_context.hh @@ -86,12 +86,6 @@ class O3ThreadContext : public ThreadContext return thread->pcEventQueue.remove(e); } - Tick - nextInstEventCount() override - { - return thread->comInstEventQueue.empty() ? - MaxTick : thread->comInstEventQueue.nextTick(); - } void scheduleInstCountEvent(Event *event, Tick count) override { -- cgit v1.2.3