The non-standard sc_time constructors
- sc_time( uint64, bool scale )
- sc_time( double, bool scale )
have been deprecated in SystemC 2.3.1 and a warning is issued when being
used. Insted the new 'sc_time::from_value' function is used to omit the
warning message.
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
* Authors: Nathan Binkert
* Steve Reinhardt
* Andrew Bardsley
+ * Matthias Jung
*/
/**
/* The next event is scheduled in the future, wait until
* then or until externalSchedulingEvent */
- eventLoopEnterEvent.notify(sc_core::sc_time(
- sc_dt::uint64(wait_period), 0));
+ eventLoopEnterEvent.notify(sc_core::sc_time::from_value(
+ sc_dt::uint64(wait_period)));
return;
} else if (gem5_time > next_event_time) {