Go to the documentation of this file.
31 #ifndef __SIM_CORE_HH__
32 #define __SIM_CORE_HH__
Tick curTick()
The universal simulation clock.
double s
These variables equal the number of ticks in the unit of time they're named after in a double.
uint64_t Tick
Tick count type.
bool clockFrequencyFixed()
void doExitCleanup()
Do C++ simulator exit processing.
Tick Frequency
The simulated frequency of curTick(). (In ticks per second)
Tick getCurTick() const
While curTick() is useful for any object assigned to this event queue, if an object that is assigned ...
double Hz
These variables the inverse of above.
void setClockFrequency(Tick ticksPerSecond)
void setOutputDir(const std::string &dir)
These are variables that are set based on the simulator frequency.
void registerExitCallback(const std::function< void()> &callback)
Register an exit callback.
__thread EventQueue * _curEventQueue
The current event queue for the running thread.
Generated on Wed Sep 30 2020 14:02:14 for gem5 by doxygen 1.8.17