systemc: Don't schedule the ready event unnecessarily.
authorGabe Black <gabeblack@google.com>
Sat, 22 Sep 2018 11:51:29 +0000 (04:51 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:25:40 +0000 (00:25 +0000)
commita503a24d97b29ef246330e95dab77669a0a4256c
tree83c629f8048bff01b51eb20103a2e8d83c758c86
parent1e17aca38ea0c9cdcc4445404bf8b789a360ce13
systemc: Don't schedule the ready event unnecessarily.

If we're already going to process the thing we'd be scheduling it to
process, just let the existing invocation get to it.

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