diff options
author | Gabe Black <gabeblack@google.com> | 2019-10-09 21:32:11 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-10-25 22:42:31 +0000 |
commit | 74a66d8e6706ccaed79facc6df3999f7dee2075a (patch) | |
tree | c1b03caf8419a65240ef5451b839b5a7e2765043 /src/cpu/checker/cpu_impl.hh | |
parent | 2b7d4bd73db443b4ca302213689a673266e856e0 (diff) | |
download | gem5-74a66d8e6706ccaed79facc6df3999f7dee2075a.tar.xz |
cpu: Make the ThreadContext a PCEventScope.
Both the thread and system's PCEventQueue are checked when appropriate.
Change-Id: I16c371339c91a37b5641860d974e546a30e23e13
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22105
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/cpu/checker/cpu_impl.hh')
-rw-r--r-- | src/cpu/checker/cpu_impl.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/checker/cpu_impl.hh b/src/cpu/checker/cpu_impl.hh index 95ea3f7bb..81bf4c100 100644 --- a/src/cpu/checker/cpu_impl.hh +++ b/src/cpu/checker/cpu_impl.hh @@ -413,6 +413,7 @@ Checker<Impl>::verify(const DynInstPtr &completed_inst) do { oldpc = thread->instAddr(); system->pcEventQueue.service(oldpc, tc); + thread->pcEventQueue.service(oldpc, tc); count++; } while (oldpc != thread->instAddr()); if (count > 1) { |