From 272a43175fc0de46ba1e264b3b1add5ea01d7e5d Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 13 Oct 2019 23:40:04 -0700 Subject: cpu: Switch off of the CPU's comInstEventQueue. This switches to letting the ThreadContexts use a thread based/local comInstEventQueue instead of falling back to the CPU's array. Because the implementation is no longer shared and it's not given where the comInstEventQueue (or other implementation) should be accessed, the default implementation has been removed. Also, because nobody is using the CPU's array of event queues, those have been removed. Change-Id: I515e6e00a2174067a928c33ef832bc5c840bdf7f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22110 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg Tested-by: kokoro --- src/arch/arm/fastmodel/iris/thread_context.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/arch/arm/fastmodel/iris') diff --git a/src/arch/arm/fastmodel/iris/thread_context.hh b/src/arch/arm/fastmodel/iris/thread_context.hh index 13ab29c46..c07c642fb 100644 --- a/src/arch/arm/fastmodel/iris/thread_context.hh +++ b/src/arch/arm/fastmodel/iris/thread_context.hh @@ -96,6 +96,12 @@ class ThreadContext : public ::ThreadContext bool schedule(PCEvent *e) override { return false; } bool remove(PCEvent *e) override { return false; } + Tick nextInstEventCount() override { return MaxTick; } + void serviceInstCountEvents(Tick count) override {} + void scheduleInstCountEvent(Event *event, Tick count) override {} + void descheduleInstCountEvent(Event *event) override {} + Tick getCurrentInstCount() override { return 0; } + virtual Counter totalInsts() { -- cgit v1.2.3