systemc: Implement pending activity related functions
authorGabe Black <gabeblack@google.com>
Thu, 19 Jul 2018 03:59:56 +0000 (20:59 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 5 Sep 2018 06:09:21 +0000 (06:09 +0000)
commit743a1b5cdd8e607f2e1bb5ad182047c512eae3f8
tree646432533f331db140547ac1cb4f60feda5928bd
parent91a6b128198515a7a29ee766715c9a1fe1bf7b0c
systemc: Implement pending activity related functions

Track the number of notifications/timeouts that are scheduled at any
given time. This lets us implement sc_pending_activity_at_current_time,
sc_pending_activity_at_future_time, and sc_time_to_pending_activity.

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