50 return ::sc_gem5::scMainFiber.argc();
56 return ::sc_gem5::scMainFiber.argv();
76 if (time.
value() == 0) {
105 static bool stop_called =
false;
107 static bool stop_warned =
false;
129 static sc_time tstamp(1.0, SC_SEC);
149 return ::sc_gem5::scheduler.pendingCurr();
155 return ::sc_gem5::scheduler.pendingFuture();
182 os <<
"SC_ELABORATION";
185 os <<
"SC_BEFORE_END_OF_ELABORATION";
188 os <<
"SC_END_OF_ELABORATION";
191 os <<
"SC_START_OF_SIMULATION";
203 os <<
"SC_END_OF_SIMULATION";
208 os <<
"SC_END_OF_INITIALIZATION";
211 os <<
"SC_END_OF_UPDATE";
214 os <<
"SC_BEFORE_TIMESTEP";
218 if (s & SC_STATUS_ANY) {
219 const char *prefix =
"(";
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
static sc_time from_value(sc_dt::uint64)
sc_dt::uint64 value() const
static sc_core::sc_status status()
void start(gem5::Tick max_tick, bool run_to_time)
void scheduleStop(bool finish_delta)
uint64_t Tick
Tick count type.
void ccprintf(cp::Print &print)
bool sc_pending_activity()
bool sc_pending_activity_at_future_time()
sc_dt::uint64 sc_delta_count()
sc_time sc_time_to_pending_activity()
bool sc_pending_activity_at_current_time()
sc_status sc_get_status()
@ SC_BEFORE_END_OF_ELABORATION
@ SC_END_OF_INITIALIZATION
std::ostream & operator<<(std::ostream &os, sc_status s)
const char *const * sc_argv()
void sc_set_stop_mode(sc_stop_mode mode)
const sc_time & sc_time_stamp()
sc_stop_mode sc_get_stop_mode()
#define SC_REPORT_WARNING(msg_type, msg)
#define SC_REPORT_ERROR(msg_type, msg)