systemc: Use the eq pointer directly less often in the scheduler.
authorGabe Black <gabeblack@google.com>
Thu, 23 Aug 2018 06:51:16 +0000 (23:51 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 26 Sep 2018 00:00:30 +0000 (00:00 +0000)
commit33341f42eb12d17dc2b9e4ed65dd9351a3947e27
treecd649a95fa6cc36a2ec60d07af1fd9808c0d5c50
parentdd8b71b413fb511477358b65c7668e6e2574257e
systemc: Use the eq pointer directly less often in the scheduler.

This takes advantage of the utility functions that exist a little
better, and also avoids accidentally asymetrically using
eventsToSchedule and eq->(de)schedule.

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