diff options
author | Gabe Black <gabeblack@google.com> | 2019-10-14 17:51:15 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-10-25 22:42:31 +0000 |
commit | ea267682e6936ce1a6cfb8edd42bab8676a8a649 (patch) | |
tree | 2faee3238fb7254db07d038dd71e8e1ea3a426aa /src/arch/arm/fastmodel/iris | |
parent | 44831fabfb74993a2222a67f55c9f21d7843cbdb (diff) | |
download | gem5-ea267682e6936ce1a6cfb8edd42bab8676a8a649.tar.xz |
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>
Diffstat (limited to 'src/arch/arm/fastmodel/iris')
-rw-r--r-- | src/arch/arm/fastmodel/iris/thread_context.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/arm/fastmodel/iris/thread_context.hh b/src/arch/arm/fastmodel/iris/thread_context.hh index ef5214333..acb325cdb 100644 --- a/src/arch/arm/fastmodel/iris/thread_context.hh +++ b/src/arch/arm/fastmodel/iris/thread_context.hh @@ -96,7 +96,6 @@ class ThreadContext : public ::ThreadContext bool schedule(PCEvent *e) override { return false; } bool remove(PCEvent *e) override { return false; } - Tick nextInstEventCount() override { return MaxTick; } void scheduleInstCountEvent(Event *event, Tick count) override {} void descheduleInstCountEvent(Event *event) override {} Tick getCurrentInstCount() override; |