systemc: Clear out the scheduler more agressively and with common code.
authorGabe Black <gabeblack@google.com>
Wed, 22 Aug 2018 21:54:08 +0000 (14:54 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 25 Sep 2018 23:55:43 +0000 (23:55 +0000)
commit382066d462d11728a0c9598d1698765da7a05293
treea7eb95ef6e9b44a500e30ecdf9cd4f50ededef71
parent71eeee982485916df7a849d1ebd67525fac3cd86
systemc: Clear out the scheduler more agressively and with common code.

It's be useful/necessary to flush pending activity even when not
tearing down the scheduler, specifically when stopping.

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