From 48b56f7c3ef7e281afd9bccd984d3483eb9c8199 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 15 Jun 2018 23:01:40 -0700 Subject: systemc: Add the nonstandard time_stamp function. Change-Id: I608c390b125611e5b62483c7e8567bb5479df553 Reviewed-on: https://gem5-review.googlesource.com/11281 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/ext/channel/sc_clock.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/systemc/ext') diff --git a/src/systemc/ext/channel/sc_clock.hh b/src/systemc/ext/channel/sc_clock.hh index ae1f6c973..30895ced2 100644 --- a/src/systemc/ext/channel/sc_clock.hh +++ b/src/systemc/ext/channel/sc_clock.hh @@ -71,6 +71,9 @@ class sc_clock : public sc_signal const sc_time &start_time() const; bool posedge_first() const; + // Nonstandard + static const sc_time &time_stamp(); + virtual const char *kind() const; protected: -- cgit v1.2.3