systemc: Implement the deprecated "timed_out" function.
authorGabe Black <gabeblack@google.com>
Fri, 7 Sep 2018 23:53:12 +0000 (16:53 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 9 Oct 2018 21:43:06 +0000 (21:43 +0000)
commit442d556fbfa85673c9a3be222cb9630ba5b05be1
tree80916cf992900b91591915bb9de2f42e5235eccb
parentc524f21396457c55435f852bcf0bb4befb91ddba
systemc: Implement the deprecated "timed_out" function.

This function requires some slightly annoying bookkeeping since it
doesn't just report whether the current process is running as a result
of a timeout, it reports whether it's running as a result of a timeout
*and* it could have been running from some other sensitivity instead.
Pure timeouts don't count as timeouts which makes it harder to handle
in a general way.

Change-Id: I533d97fe66d20d7b83aba80f2ef45a8944668070
Reviewed-on: https://gem5-review.googlesource.com/c/12608
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/process.cc
src/systemc/core/process.hh
src/systemc/core/sc_module.cc
src/systemc/core/sc_prim.cc