cpu,sim: Delegate PCEvent scheduling from Systems to ThreadContexts.
authorGabe Black <gabeblack@google.com>
Thu, 10 Oct 2019 05:07:27 +0000 (22:07 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 25 Oct 2019 22:42:31 +0000 (22:42 +0000)
commitfea2af5b9c4599637866d0ce2dfc598296c19a5b
tree43a7620bfb5faffee2d72e03abcc24044348e718
parent74a66d8e6706ccaed79facc6df3999f7dee2075a
cpu,sim: Delegate PCEvent scheduling from Systems to ThreadContexts.

The System keeps track of what events are live so new ThreadContexts
can have the same set of events as the other ThreadContexts.

Change-Id: Id22bfa0af7592a43d97be1564ca067b08ac1de7c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22106
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/checker/cpu_impl.hh
src/cpu/minor/execute.cc
src/cpu/o3/commit_impl.hh
src/cpu/simple/base.cc
src/sim/system.cc
src/sim/system.hh