systemc: Implement the SC_EXIT_ON_STARVATION exit mode.
authorGabe Black <gabeblack@google.com>
Fri, 20 Jul 2018 23:28:54 +0000 (16:28 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 11 Sep 2018 21:42:55 +0000 (21:42 +0000)
commitfbf406d0a63ec42ab0ac09788e16eab2a4839230
treed6a5d45cd754530b4e32918b5ac4acf55ce7c93e
parent8a488364afcaa1baaa0014484d7f42b9aca9ac27
systemc: Implement the SC_EXIT_ON_STARVATION exit mode.

This mode implies checking whether there's any activity left either
before starting a delta cycle, or processing delta or timed
notification or timeout.

Change-Id: I0780a1f720cf63f3d2907b8dd28685266b52d6b4
Reviewed-on: https://gem5-review.googlesource.com/12038
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/scheduler.cc
src/systemc/core/scheduler.hh