systemc: Add the nonstandard time_stamp function.

Change-Id: I608c390b125611e5b62483c7e8567bb5479df553
Reviewed-on: https://gem5-review.googlesource.com/11281
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
Gabe Black
2018-06-15 23:01:40 -07:00
parent 098aa356cf
commit 48b56f7c3e
2 changed files with 10 additions and 0 deletions

View File

@@ -71,6 +71,9 @@ class sc_clock : public sc_signal<bool>
const sc_time &start_time() const;
bool posedge_first() const;
// Nonstandard
static const sc_time &time_stamp();
virtual const char *kind() const;
protected: