Go to the documentation of this file.
39 #ifndef __SIM_ROOT_HH__
40 #define __SIM_ROOT_HH__
43 #include "params/Root.hh"
111 #endif // __SIM_ROOT_HH__
static Root * root()
Use this function to get a pointer to the single Root object in the simulation.
void timeSyncEnable(bool en)
Enable or disable time syncing.
uint64_t Tick
Tick count type.
const Params * params() const
bool timeSyncEnabled() const
Check whether time syncing is enabled.
const Time timeSyncPeriod() const
Retrieve the period for the sync event.
void startup() override
Schedule the timesync event at startup().
const Time timeSyncSpinThreshold() const
Retrieve the threshold for time remaining to spin wait.
EventFunctionWrapper syncEvent
const SimObjectParams * _params
Cached copy of the object parameters.
std::ostream CheckpointOut
void serialize(CheckpointOut &cp) const override
Serialize an object.
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:14 for gem5 by doxygen 1.8.17